Commit Graph

30 Commits

Author SHA1 Message Date
Fraser Graham
c7d5e4be87 support setting heading in instructions 2013-11-11 21:36:11 -08:00
da26e1ca46 simplified some loops
These changes were done by running the following command:

    gofmt -s -w *.go
2013-11-09 21:52:06 -08:00
bc2d1cdd52 minor tweaks, including go fmt 2013-11-09 21:46:49 -08:00
Fraser Graham
d3c08a7953 move robot code into robot file 2013-11-09 19:52:40 -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
Fraser Graham
1b42a19393 active scanning 2013-11-07 21:34:54 -08:00
Fraser Graham
eabc1ebb41 probe result 2013-11-07 08:41:39 -08:00
Fraser Graham
829ba83f41 probes!!!! (not anal) 2013-11-06 23:26:29 -08:00
Fraser Graham
d2ae3c11d8 alert the robot if it's been hit 2013-11-06 23:06:51 -08:00
Fraser Graham
082b737805 first pass at repair mode 2013-11-06 22:50:59 -08:00
Fraser Graham
e562e2fefb players can now set target speed in bot code 2013-11-06 21:24:10 -08:00
Fraser Graham
cd9bb45ddc sort the all bots list 2013-11-06 21:12:19 -08:00
Fraser Graham
855b8518b8 weapon stats are now set via robot 2013-11-06 21:07:31 -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
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
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
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
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
0cc03e5768 removed unused struct 2013-09-04 00:04:28 -07:00
b495b16065 refactor for bot 2013-09-03 23:26:40 -07:00
1b29096479 pared down logging in favor of unittests 2013-08-26 23:02:41 -07:00
e391cd3a0b Changed to use user-provided stats. 2013-08-19 21:42:43 -07:00
3b183481ef added rest of game in current state 2013-08-19 20:43:26 -07:00