Commit Graph

68 Commits

Author SHA1 Message Date
Stephen McQuay 50be2c5b88 don't block on dealing with StateStream
some clients don't use it. we block indefinitely if we don't allow for it to
not be used.
2016-02-23 16:57:35 -08:00
Stephen McQuay 8a85c94767 draw own bot last 2015-08-31 21:59:21 -07:00
Stephen McQuay 623dfa4c48 Remove spurious logging 2015-08-31 21:55:18 -07:00
Stephen McQuay 3ef90af341 All robots are spectators 2015-08-31 21:48:25 -07:00
Stephen McQuay 855208b39d vantiy urls
I've moved remote to https://s.mcquay.me/hackerbots/ and stood up routes for go
get on the hackerbots repos. I had to update the imports for this to take
effect.
2015-04-30 23:14:17 -07:00
Stephen McQuay 84f151864b updated import paths for go tools repo
See golang.org/s/go14subrepo for background.
2014-11-11 21:28:01 -08:00
Stephen McQuay f6439cf41d cleanly close spectator if server dies 2014-05-13 00:23:14 -07:00
Stephen McQuay f06ccd2588 trying to visualize bot direction 2014-05-12 22:30:55 -07:00
Stephen McQuay bb072255cd Added splosion visualization 2014-05-12 22:11:44 -07:00
Stephen McQuay 14297191ed Update to new protocol (Update) 2014-05-11 23:13:00 -07:00
Stephen McQuay d3e7a247c8 float32 -> float64 2014-05-11 23:11:58 -07:00
Stephen McQuay 2b710ef40d Removed the MiniObstacle nonsense. 2014-05-11 23:10:59 -07:00
Stephen McQuay b074dda677 Added curses (termbox) spectator mode 2014-05-11 21:45:26 -07:00
Stephen McQuay 7d77f18470 simple spectator that says hi every message 2014-05-11 21:45:26 -07:00
Stephen McQuay 2d8b878f50 correct go vet errors 2014-04-23 14:58:22 -07:00
Stephen McQuay bbfb2af4a9 don't rename package without need. 2014-04-23 14:54:30 -07:00
Stephen McQuay b63780c2bc Forgot to die if negociation failed. 2014-04-23 14:45:39 -07:00
Stephen McQuay 51d0522833 renamed package/directory 2014-04-23 14:28:06 -07:00
Stephen McQuay 7e4e6faa00 Added documentation 2014-04-09 23:11:28 -07:00
Stephen McQuay 6331803887 Moved enc/dec definition out of play func 2014-04-09 23:10:51 -07:00
Stephen McQuay d0c3b5a117 prep code for reuse 2014-04-09 22:55:54 -07:00
Stephen McQuay 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
Stephen McQuay bb3d9e16e4 allow for overriding encodings 2014-03-11 07:30:05 -07:00
Stephen McQuay 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
Stephen McQuay dc7db48201 Fixed protocol bug I introduced 2014-03-10 23:24:25 -07:00
Stephen McQuay eec52769dd Implemented Fraser's suggestions 2014-03-10 21:52:14 -07:00
Stephen McQuay 21705cc16e Added encoding negociation to protocol 2014-03-10 00:04:45 -07:00
Stephen McQuay ed39916f17 Added some debug logging 2014-01-29 22:46:31 -08:00
Stephen McQuay e02dc2f348 Changed the collision response from boolean to Collision 2014-01-27 20:39:08 -08:00
Stephen McQuay 29b078e637 changed the stats payload 2014-01-23 23:03:21 -08:00
Stephen McQuay 7cb38a76aa recv the calculated stats values 2014-01-23 22:33:05 -08:00
Stephen McQuay b964a14bba lockstep changes for server sending max points 2014-01-22 22:14:02 -08:00
Stephen McQuay 787bf9b435 updated ProbeResult struct for type 2014-01-16 23:06:28 -08:00
Stephen McQuay 5b438b7ffe renamed to randomDirection to reflect what function does 2014-01-12 01:27:12 -08:00
Stephen McQuay 4d0eac703c removed unecessary looping from probe 2014-01-12 01:23:20 -08:00
Stephen McQuay 5b8ec0b8ab consider destination slightly before collision
also: added verbose blocks for logging
2014-01-12 00:08:00 -08:00
Stephen McQuay a122577019 fixed stalling robots 2014-01-11 23:42:32 -08:00
Stephen McQuay b16886cbac simplest shooting algo 2014-01-11 00:08:08 -08:00
Stephen McQuay a1cc24f2a0 reasonable object avoidance. 2014-01-10 23:23:29 -08:00
Stephen McQuay 82e54c28e7 loglines 2014-01-06 23:33:06 -08:00
Stephen McQuay ff0b5bea4e fixed import issue 2013-12-05 13:36:05 -07:00
Stephen McQuay e1bed61a00 unstopped failure conditions 2013-11-11 00:25:28 -08:00
Stephen McQuay 2fb7ff7b20 added per-bot info to the logs 2013-11-11 00:25:02 -08:00
Stephen McQuay 46947bb4b3 added missing stats flags 2013-11-11 00:24:11 -08:00
Stephen McQuay 819ba2f46d made it so that everything can start in parallel too 2013-11-11 00:01:57 -08:00
Stephen McQuay e4bbd4a0f4 give unique r.name for each robot 2013-11-10 23:37:43 -08:00
Stephen McQuay 5361cc276e added multi-bot spinup 2013-11-10 23:32:12 -08:00
Stephen McQuay 5f6ad59303 spelled things more how I wanted to 2013-11-10 23:30:23 -08:00
Stephen McQuay 6390aa96da reduce verbosity 2013-11-10 22:34:56 -08:00
Stephen McQuay ebcd9fbfe3 ignore ctags 2013-11-10 22:33:09 -08:00