Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 25 lines (16 sloc) 1.228 kB
dc5b3df updated readme
Jason Kotchoff authored
1 # Game of Life
2
3 The Game of Life, also known simply as Life, is a cellular automaton devised by the British
4 mathematician John Horton Conway in 1970 - [Wikipedia] [1]
5
6 ## Project inspiration
9809272 Refactored neighbours into cells (in order to re-count live neighbour…
Jason Kotchoff authored
7 Pete Yandell hosted a [code retreat] [2] at Envato on August 27th in 2011 where we practised TDD pairing using the Game of Life as our problem. It was a bit tricky to bang out a solution in 45 minutes. This github project was created to think about it a bit more.
8
9 ## Running this codebase
10
11 $ git clone git@github.com:cornflakesuperstar/game_of_life.git
12 $ cd game_of_life
13 $ ./world.rb --simulate sample_worlds/oscillator-blinking.gol
14
15 ## Codebase thoughts
922bf67 Added sleep time to CLI arguments
Jason Kotchoff authored
16 This implementations board also doesn't grow. It does simulate patterns though which is enough for now.
17
18 The performance could definitely be optimised a lot - adding bigger worlds (eg. to the Gosper Glider Gun in the sample_worlds/ directory) is horriby slow.
9809272 Refactored neighbours into cells (in order to re-count live neighbour…
Jason Kotchoff authored
19
20 It would also be interesting to test with infinity in mind - would the data type usage blow up memory allocation?
21
922bf67 Added sleep time to CLI arguments
Jason Kotchoff authored
22 Things to consider for a future code retreat!
dc5b3df updated readme
Jason Kotchoff authored
23
24 [1]: http://en.wikipedia.org/wiki/Conway's_Game_of_Life "Wikipedia"
a45405f readme update
Jason Kotchoff authored
25 [2]: http://notes.envato.com/developers/code-retreat/ "code retreat"
Something went wrong with that request. Please try again.