Fun project for EDT...Life [message #759153] |
Sat, 26 November 2011 18:12  |
Eclipse User |
|
|
|
I've written an implementation of the game of Life from scratch using EDT. The "Life" I'm talking about here is the classic game devised by John Conway in 1970. (See en.wikipedia.org/wiki/Conway%27s_Game_of_Life for details.)
After putting the finishing touches on the EDT version I ported the game to RBD in order to see relative performance.
I strongly recommend the use of Google Chrome to run the game since it seems to have the fastest JavaScript engine but any browser should work.
EDT version:
www.dandarnellonline.com/LifeGameTC/GameBoard.html
RBD version:
www.dandarnellonline.com/LifeTC/GameBoard-en_US.html
Game features:
Set your own initial cell conditions (click any cell to set it on or off) or use the "Randomize" feature to create a random game board.
Use "Step" to proceed one iteration at a time or "Start" to run indefinitely.
Color changes help identify cells of great longevity.
Speed selection and iteration counter.
Use "Reset" to clear the board and counters.
The game board wraps around so cells at the top, bottom, and sides do influence cells on the opposite boundary.
(Apologies for the non-links...can't post links until I have posted at least five messages to the forum according to the error message I received. Lovely!)
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.25101 seconds