Commit Graph

64 Commits

Author SHA1 Message Date
Fraser Graham
72d5a1a64c stats stats stats stats 2014-01-16 00:13:02 -08:00
Fraser Graham
3fa53daadb rewrite of the stats system 2014-01-16 00:02:59 -08:00
Fraser Graham
90b7731865 allow the control interface to specify game type 2014-01-15 22:16:06 -08:00
Fraser Graham
9583de2ffa game types, deathmatch and melee 2014-01-15 21:41:40 -08:00
3bb710dd9c point limit parametrized 2013-11-29 01:10:49 -07:00
Fraser Graham
9ca442f10d stop sending all data to dead robots 2013-11-18 22:49:05 -08:00
4eb849a63f fixed resetart error vis-a-vis obstacles 2013-11-18 08:52:59 -08:00
Fraser Graham
58c084c7ab bandwidth reduction, filtering explosions and sending objects as [4]int 2013-11-16 23:13:03 -08:00
5a2651d0dd allow object specification 2013-11-16 19:57:13 -08:00
245c483f9e added simple game stats 2013-11-13 23:45:02 -08:00
84ed6c9c32 added gameover packet 2013-11-13 22:24:54 -08:00
aabda1cc90 added config file support 2013-11-13 20:38:57 -08:00
674cda293f renamed function to match go convention 2013-11-09 22:05:37 -08:00
Fraser Graham
570d8eea8e get multibots working 2013-11-08 22:26:56 -08:00
Fraser Graham
e39a97089e First pass of multibot support 2013-11-08 21:25:42 -08:00
49ff6af1f3 minor cleanup
- removed comment-disabled code
- reduced verbosity in protocol logging
2013-11-07 22:11:54 -08:00
caea45741f Added ability to configure game at creation time 2013-11-07 22:11:54 -08:00
Fraser Graham
164c37e7d6 player messages 2013-11-07 22:10:18 -08:00
Fraser Graham
1b42a19393 active scanning 2013-11-07 21:34:54 -08:00
Fraser Graham
3d0eb16f91 game params 2013-11-07 21:00:15 -08:00
Fraser Graham
cfd3d91942 filter projectiles and objects by scanners 2013-11-06 22:21:18 -08:00
Fraser Graham
cd9bb45ddc sort the all bots list 2013-11-06 21:12:19 -08:00
Fraser Graham
43b68f27f8 remove some unused data from payload 2013-11-06 20:09:45 -08:00
Fraser Graham
1498414357 tweaks in support of better rendering 2013-10-28 23:35:00 -07:00
Fraser Graham
14f6c65e86 obstacle support 2013-10-25 22:30:15 -07:00
Fraser Graham
de68ec2e7b Create a stripped down version of the robot struct to represent all robots and break up the update into my_robots and robots.
Has dependent change on client
2013-10-24 20:13:21 -07:00
Fraser Graham
cc248dc2fe adding a listing of all bot id's and health to each payload 2013-10-24 06:26:54 -07:00
Fraser Graham
200afffa7f moved a bunch of logic out of run and into functions of the game, for a cleaner separation of functionality.
Also, removed a bunch of overly verbose logging
2013-10-20 21:15:23 -07:00
Fraser Graham
776a7eee98 split splosions and projectiles into separate files 2013-10-20 20:54:19 -07:00
Fraser Graham
fd13cb318a removed unecessary data from payload sent to the client and filter outgoing robot list by scanner contents for each player until they die 2013-10-19 17:29:40 -07:00
Fraser Graham
f9b18eb253 Convert to 32-bit to save space in the serialization 2013-10-19 00:00:51 -07:00
c074397c1f bugfix for incorrect logic in game creation 2013-10-18 23:56:06 -07:00
Fraser Graham
c80acb478b All sorts of fun stuff...
- stats are now based on a 1-100 ranged and mapped to sensibles
- turnspeed and fire rate are available stats
- bugs in movement are squished
2013-10-18 23:22:35 -07:00
d19b3f71fa added ability to autovivify games in debug mode 2013-10-18 20:49:57 -07:00
Fraser Graham
e02c5f89fb make projectiles arrive at their destination regardless of tick time 2013-10-18 20:39:53 -07:00
158c7d90d8 fixed tick bombs 2013-10-01 21:37:53 -07:00
83da3961cd infinite melee!! 2013-09-28 13:19:44 -07:00
56c965add7 some clean up
Mainly adding some comments, and some function renaming
2013-09-28 12:59:17 -07:00
2a2f4f6f96 moved all negociation code into a single function 2013-09-28 12:37:23 -07:00
b142845b5c moved move out of vector lib 2013-09-28 09:44:47 -07:00
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
472e2011b9 logging and infinite melee 2013-09-27 00:03:32 -07:00
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
f175e45c63 added simple, non-leaking game stop url 2013-09-08 09:32:24 -07:00
b7087adb78 reuse some slices 2013-09-07 19:13:12 -07:00
bf853880ca go fmt 2013-09-07 19:12:46 -07:00
45cc67a5f1 make it simple to track last time 2013-09-05 23:31:13 -07:00
1ca4679b04 embedded the mutex into the games global (one fewer global) 2013-09-05 18:14:41 -07:00
c6b480fa1e removed goroutine leak 2013-09-04 23:36:45 -07:00