Conway's Game of Life code kata... goal was to relearn a bunch of OO design patterns I haven't used in awhile. Also getting a little more reacquainted with C# and using .NET 4.0.
Project now is implemented as a screensaver and uses the registry (HKCU \ Software \ GameOfLife_ScreenSaver - speed and type keys) for settings.
ccjjharmon/GameOfLife
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
INSTALLATION / REQUIREMENTS -------------------------------------------------------- 1. Copy \bin\Debug\GameOfLifeWinForms.exe to %WinDir% folder. 2. Rename file to "Game Of Life.scr" 3. Open regedit 4. Create a "GameOfLife_ScreenSaver" key under HKEY_CURRENT_USER\Software\ 5. Create two String values with these names "speed" and "type". 6. Using Display, set Screen Saver to "Game Of Life" and click Settings to set the speed and world type (which is stored in the registry). "The Rules" of Conway's Game of Life For a space that is 'populated': Each cell with one or no neighbors dies, as if by loneliness. Each cell with four or more neighbors dies, as if by overpopulation. Each cell with two or three neighbors survives. For a space that is 'empty' or 'unpopulated' Each cell with three neighbors becomes populated.
About
Conway's Game of Life code kata... goal was to relearn a bunch of OO design patterns I haven't used in awhile. Also getting a little more reacquainted with C# and using .NET 4.0.
Project now is implemented as a screensaver and uses the registry (HKCU \ Software \ GameOfLife_ScreenSaver - speed and type keys) for settings.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published