Commit Graph

182 Commits

Author SHA1 Message Date
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 64477f5e47 stray pointer conversion 2013-09-04 00:07:22 -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 0cc03e5768 removed unused struct 2013-09-04 00:04:28 -07:00
Stephen McQuay 33c08abbc5 forgot to git add 2013-09-03 23:35:42 -07:00
Stephen McQuay 38a7ea6805 moved geom to vector package 2013-09-03 23:32:36 -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 b800f77c24 added locking, listing 2013-09-01 22:04:10 -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 922acbdb54 added a hash generator 2013-08-28 18:10:08 -07:00
Stephen McQuay 0512bb7664 added test for out of order conf, found bug that needs fixing 2013-08-26 23:09:39 -07:00
Stephen McQuay ad13aed9fd extra import 2013-08-26 23:03:24 -07:00
Stephen McQuay 1b29096479 pared down logging in favor of unittests 2013-08-26 23:02:41 -07:00
Stephen McQuay 63f6d1a2e0 added some protocol tests 2013-08-26 23:00:27 -07:00
Stephen McQuay 880d73b54e got simple testing server working 2013-08-25 23:10:02 -07:00
Stephen McQuay ccd5dc3961 moved negociation code to func 2013-08-21 07:53:34 -07:00
Stephen McQuay 4e4750fa95 go fmt 2013-08-19 23:44:00 -07:00
Stephen McQuay 7997b15c26 fixed initial position bug 2013-08-19 23:25:08 -07:00
Stephen McQuay 7e3404095a don't track vim swp files 2013-08-19 23:24:58 -07:00
Stephen McQuay 27afc65297 initial spectator implementation 2013-08-19 22:23:35 -07:00
Stephen McQuay e391cd3a0b Changed to use user-provided stats. 2013-08-19 21:42:43 -07:00
Stephen McQuay 7f75104f3a removed unused constant 2013-08-19 21:29:02 -07:00
Stephen McQuay 3b183481ef added rest of game in current state 2013-08-19 20:43:26 -07:00
Stephen McQuay fbcbbab070 actually ignore bin 2013-08-19 20:43:11 -07:00
Stephen McQuay c46027cfdb added protocol 2013-08-19 20:42:28 -07:00
Stephen McQuay 2c0302210b added git ignore file 2013-08-19 20:42:19 -07:00