emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tetris not random enough?


From: Daniel Jensen
Subject: Tetris not random enough?
Date: Wed, 04 Apr 2007 13:58:42 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

This may or may not be considered a bug.

The Tetris game does not set a new seed for the random number
generator. With the same random seed in a new Tetris game, the same
shapes will drop -- it is not a "new" game.

A user can work around this by calling (random t), before starting
Tetris, maybe in the init file.

It is possible that this behaviour exists in other Emacs games as
well, but I haven't examined them.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]