Commit Graph

20 Commits

Author SHA1 Message Date
c0184dd9df Splitting things up a bit 2012-12-11 22:50:47 -05:00
8ba87ccc81 Cells can have their values set when ranging over them
plus more replacement of y, x loops with cell ranges, adding static
neighbor coords.
2012-12-11 22:30:34 -05:00
078efbe057 Refactoring tests a bit 2012-12-11 21:04:47 -05:00
0ac0b4cab9 Cleaning better and using chars with more contrast. 2012-12-11 18:43:15 -05:00
df55a809f1 Attempting to collapse package up a level
since I'm not feeling like I'm going to tackle this in another
language... yet.
2012-12-11 18:28:10 -05:00
Dan Buch
f22abc0430 Detecting 3-period oscillators
and properly (?) checking for zero-oscillator stasis.
2012-12-10 09:39:58 -05:00
Dan Buch
78625088e8 Detecting statis with blinkers or beacons or some other 2-period oscillator 2012-12-10 09:14:29 -05:00
Dan Buch
8ff1125452 Even better, I guess 2012-12-10 00:55:39 -05:00
Dan Buch
3ff6e2e999 Ending game automatically when statis is reached
plus properly seeding math/rand and swapping the chars used for grid to
better match black/white from canonical example.
2012-12-10 00:35:09 -05:00
Dan Buch
ad1bd2537a Introducing concept of mutation
which appears to delay the onset of stasis until about twice as many
generations (???)
2012-12-10 00:22:31 -05:00
Dan Buch
ea5bb19b0b Flagging up the command-line interface
and using unicode chars instead of X and _, dangit!
2012-12-09 23:38:38 -05:00
Dan Buch
00b750e2b0 Plugging stuff into command-line runner
including adding random initial state generation.
2012-12-09 23:20:43 -05:00
Dan Buch
32095ef057 Ensuring the game can display itself
albeit in very simple string form.
2012-12-09 22:51:10 -05:00
Dan Buch
ffb8d1e43c Implementing dead cell reproduction 2012-12-09 22:33:42 -05:00
Dan Buch
c2ffaee979 Implementing overcrowding rule 2012-12-09 22:16:16 -05:00
Dan Buch
aaba7c22df Getting two of the four rules (sorta) working
with some gnarly and probably way too big scoring code.
2012-12-09 21:05:40 -05:00
Dan Buch
f6546e7186 More tests, including finally getting into implementation of real reqs 2012-12-09 00:22:10 -05:00
Dan Buch
8a858a9a11 Filling in a few more tests 2012-12-08 23:08:40 -05:00
Dan Buch
f1ab95c68f (finally!) doing some TDD in Go 2012-12-08 22:44:45 -05:00
Dan Buch
ecffff2a60 Starting work on a Go implementation of Conway's Game of Life
since I had a decent amount of practice at
http://globalday.coderetreat.org/
2012-12-08 21:47:21 -05:00