Commit Graph

56 Commits

Author SHA1 Message Date
Fraser Graham
f8ecde3e81 Improving basic swarm bot 2014-04-27 00:49:16 -06:00
Fraser Graham
a2436fe8d8 chaneg the player interface to be more consistent with the JS version 2014-04-26 13:59:32 -06:00
2d8b878f50 correct go vet errors 2014-04-23 14:58:22 -07:00
bbfb2af4a9 don't rename package without need. 2014-04-23 14:54:30 -07:00
b63780c2bc Forgot to die if negociation failed. 2014-04-23 14:45:39 -07:00
51d0522833 renamed package/directory 2014-04-23 14:28:06 -07:00
7e4e6faa00 Added documentation 2014-04-09 23:11:28 -07:00
6331803887 Moved enc/dec definition out of play func 2014-04-09 23:10:51 -07:00
d0c3b5a117 prep code for reuse 2014-04-09 22:55:54 -07:00
0c254caff5 Split out binary from library
I still want to do a few things:

- move common hackerbot code to a package called hackerbot
- make the stuff in here more trivially usable outside of this repo
2014-04-08 23:43:12 -07:00
bb3d9e16e4 allow for overriding encodings 2014-03-11 07:30:05 -07:00
839b5789e3 Implemented multiple encoders/decoders
I really think we're close here; once we have gob server-side this might just
work.
2014-03-10 23:25:11 -07:00
dc7db48201 Fixed protocol bug I introduced 2014-03-10 23:24:25 -07:00
eec52769dd Implemented Fraser's suggestions 2014-03-10 21:52:14 -07:00
21705cc16e Added encoding negociation to protocol 2014-03-10 00:04:45 -07:00
ed39916f17 Added some debug logging 2014-01-29 22:46:31 -08:00
e02dc2f348 Changed the collision response from boolean to Collision 2014-01-27 20:39:08 -08:00
29b078e637 changed the stats payload 2014-01-23 23:03:21 -08:00
7cb38a76aa recv the calculated stats values 2014-01-23 22:33:05 -08:00
b964a14bba lockstep changes for server sending max points 2014-01-22 22:14:02 -08:00
787bf9b435 updated ProbeResult struct for type 2014-01-16 23:06:28 -08:00
5b438b7ffe renamed to randomDirection to reflect what function does 2014-01-12 01:27:12 -08:00
4d0eac703c removed unecessary looping from probe 2014-01-12 01:23:20 -08:00
5b8ec0b8ab consider destination slightly before collision
also: added verbose blocks for logging
2014-01-12 00:08:00 -08:00
a122577019 fixed stalling robots 2014-01-11 23:42:32 -08:00
b16886cbac simplest shooting algo 2014-01-11 00:08:08 -08:00
a1cc24f2a0 reasonable object avoidance. 2014-01-10 23:23:29 -08:00
82e54c28e7 loglines 2014-01-06 23:33:06 -08:00
ff0b5bea4e fixed import issue 2013-12-05 13:36:05 -07:00
e1bed61a00 unstopped failure conditions 2013-11-11 00:25:28 -08:00
2fb7ff7b20 added per-bot info to the logs 2013-11-11 00:25:02 -08:00
46947bb4b3 added missing stats flags 2013-11-11 00:24:11 -08:00
819ba2f46d made it so that everything can start in parallel too 2013-11-11 00:01:57 -08:00
e4bbd4a0f4 give unique r.name for each robot 2013-11-10 23:37:43 -08:00
5361cc276e added multi-bot spinup 2013-11-10 23:32:12 -08:00
5f6ad59303 spelled things more how I wanted to 2013-11-10 23:30:23 -08:00
6390aa96da reduce verbosity 2013-11-10 22:34:56 -08:00
ebcd9fbfe3 ignore ctags 2013-11-10 22:33:09 -08:00
35dc411a8a got bot moving and shooting again 2013-11-10 22:32:54 -08:00
42ba19dd1c sorted out initial connection changes 2013-11-10 21:24:41 -08:00
384d6c5ca2 float32-d the whole thang 2013-10-19 21:18:01 -07:00
9fad1a7ad3 added fireRate flag 2013-10-19 00:30:20 -07:00
e07b24afdc Merge branch 'master' of bitbucket.org:hackerbots/botclient 2013-10-14 08:51:21 -07:00
e55e1c6883 added verbose flag 2013-10-14 08:51:06 -07:00
ab190bf6ca default to hackebots.us 2013-10-14 00:08:28 -07:00
1924d613f0 missed a reference to localhost 2013-09-28 14:33:51 -07:00
bc92c2e01f seed prng, be less verbose 2013-09-28 13:10:25 -07:00
535d5ac445 added acceleration 2013-09-28 09:44:24 -07:00
0b3f0f25ed added structs for a more complete picture of protocol 2013-09-27 22:49:05 -07:00
24cf30ca83 added flags for server and botname 2013-09-27 00:04:25 -07:00