Commit Graph

1161 Commits

Author SHA1 Message Date
f86855d22d Externalizing web assets
mostly to ease editing, but also for practice with file manipulation,
gzipping, base64'ing, etc.
2012-12-18 21:56:37 -05:00
4c44252a49 Getting the web implementation mostly working! 2012-12-18 09:37:28 -05:00
Dan Buch
6818d0ee01 Serving random state images, now need to tackle state transfer 2012-12-17 09:17:01 -05:00
Dan Buch
8b536de45c Playing around with images and drawing
mostly in preparation for doing image stuff in the Conway's Game of Life
implementation.
2012-12-16 19:58:01 -05:00
Dan Buch
3e013ce1a5 Too much crap for one commit
Breaking out console runner into its own file, adding an empty web
runner, and starting to test that games and game states are able to
represent themselves as images.
2012-12-16 17:59:54 -05:00
Dan Buch
3bfa23fff2 Have we achieved torus? 2012-12-16 16:04:54 -05:00
Dan Buch
8056d86cbf A bunch more work towards achieving torus 2012-12-16 12:17:44 -05:00
Dan Buch
7567f1c991 Starting work on making the game exist on a torus 2012-12-16 09:56:38 -05:00
Dan Buch
fc3f94e78f Goofing around with Qt a bit 2012-12-14 20:35:01 -05:00
Dan Buch
39fdd6fdd6 Reflection thing from Jesse :-) 2012-12-13 21:02:19 -05:00
Dan Buch
44999623da Collapsing tree into more sane Go project layout
since I was in here looking at something unrelated...
2012-12-13 18:12:43 -05:00
Dan Buch
270eb1fc2d Moving bulk of console runner into library func 2012-12-12 21:34:28 -05:00
Dan Buch
6bbe19c26f Whoops, was double-eval'ing generations 2012-12-12 08:11:33 -05:00
353b59b303 Extracting and testing generation emit and checksumming bits 2012-12-11 23:35:49 -05:00
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
Dan Buch
6bd27f93b8 picking up the android thing again 2012-12-08 07:57:46 -05:00
Dan Buch
5228eba27e Using the more explicit Java symbol access pattern 2012-12-02 20:28:07 -05:00
Dan Buch
e1a07fadd9 Working through an old @why post on metaprogramming
since I'd like to make the JRuby rabbitmq stuff a bit less boilerplate.
2012-12-02 20:21:14 -05:00
Dan Buch
9fd03cab2f Implementing rpc example in Go 2012-12-02 08:41:05 -05:00
Dan Buch
b0553c1b8d Renaming some stuff and starting on ch. 4 rpc example implemented in Go 2012-12-01 19:06:23 -05:00
Dan Buch
4c63923238 Ignoring symlinked bin dir from main go workspace 2012-12-01 18:50:30 -05:00
Dan Buch
9802fe8ca5 Removing obsolete autoenv file and updating imports to match new layout 2012-12-01 18:41:06 -05:00
Dan Buch
80e5b8fa5e Attempting to correct Go project layout 2012-12-01 18:34:55 -05:00
Dan Buch
bbb709be31 Accepting fib count from os.Args, whoopdittydooo 2012-12-01 08:08:31 -05:00
Dan Buch
b01f9d70fd Doing the bit of the go tour on select 2012-12-01 07:52:03 -05:00
Dan Buch
42b7abccc0 Re-namespacing stuff, but not quite going the whole way with "correct" go layout
since I don't really want the overhead of separate repos for silly crap
like this.
2012-11-30 19:31:24 -05:00
Dan Buch
b8d83c830c Playing with round-robin behavior 2012-11-27 00:11:56 -05:00
Dan Buch
10aa737d1d Adding the picture resizing consumer 2012-11-26 23:42:08 -05:00
Dan Buch
b3f0f5c4ec Touching up the add-points consumer
to really fake implement points-adding method and more cleanly stop
consuming.
2012-11-26 23:29:20 -05:00
Dan Buch
c4e8e39176 Adding the alert consumer
plus a tiny bit of touchup to fanout producer.
2012-11-26 22:47:57 -05:00
Dan Buch
952604d431 Adding fanout publishing script for the picture upload example 2012-11-26 22:36:28 -05:00