Commit Graph

75 Commits

Author SHA1 Message Date
Stephen McQuay b142845b5c moved move out of vector lib 2013-09-28 09:44:47 -07:00
Stephen McQuay e33f2c0c4f moved code out of awkward bots repo 2013-09-27 22:27:05 -07:00
Fraser Graham 92a2040d70 Adding collisions and acceleration. Fixing splosions and projectiles. 2013-09-27 01:30:26 -07:00
Stephen McQuay 472e2011b9 logging and infinite melee 2013-09-27 00:03:32 -07:00
Stephen McQuay f8378cf89b Got game working again
I just moved some old code into the game struct; probably still merits some
cleanup in the main loop.
2013-09-20 12:15:10 -06:00
Stephen McQuay f175e45c63 added simple, non-leaking game stop url 2013-09-08 09:32:24 -07:00
Stephen McQuay b7087adb78 reuse some slices 2013-09-07 19:13:12 -07:00
Stephen McQuay bf853880ca go fmt 2013-09-07 19:12:46 -07:00
Stephen McQuay 45cc67a5f1 make it simple to track last time 2013-09-05 23:31:13 -07:00
Stephen McQuay 1ca4679b04 embedded the mutex into the games global (one fewer global) 2013-09-05 18:14:41 -07:00
Stephen McQuay c6b480fa1e removed goroutine leak 2013-09-04 23:36:45 -07:00
Stephen McQuay fb0e6d92d7 Sorted out extra load
turns out we were never exiting the loop even when all bots left. Games now
shut down when there ever has been bots and they all leave (or are killed,
I think).
2013-09-04 23:23:05 -07:00
Stephen McQuay 3e805d3da7 remove game from player struct 2013-09-04 00:08:43 -07:00
Stephen McQuay 325a5c0f57 put more of game init in NewGame 2013-09-04 00:06:39 -07:00
Stephen McQuay 9bccf60abc make member a pointer for nil json 2013-09-04 00:05:38 -07:00
Stephen McQuay b495b16065 refactor for bot 2013-09-03 23:26:40 -07:00
Stephen McQuay 835303c53d middle of refactor 2013-09-01 23:00:09 -07:00
Stephen McQuay 0396b16425 need to have games track width/height 2013-09-01 22:04:34 -07:00
Stephen McQuay a1470c102a added startGame side band 2013-08-28 23:46:12 -07:00
Stephen McQuay aaaff34448 tests work for GOMAXPROCS>1 2013-08-28 22:16:55 -07:00
Stephen McQuay 1b29096479 pared down logging in favor of unittests 2013-08-26 23:02:41 -07:00
Stephen McQuay 880d73b54e got simple testing server working 2013-08-25 23:10:02 -07:00
Stephen McQuay 4e4750fa95 go fmt 2013-08-19 23:44:00 -07:00
Stephen McQuay 27afc65297 initial spectator implementation 2013-08-19 22:23:35 -07:00
Stephen McQuay 3b183481ef added rest of game in current state 2013-08-19 20:43:26 -07:00