b597ec529e
DELETE: print out user events
2016-07-17 23:51:08 -07:00
aaf2641d80
Added way to get user input events from Spectator
2016-07-17 23:51:08 -07:00
15f1ad15f4
some go lint (Id -> ID)
2016-07-17 23:51:00 -07:00
86a00042c3
Make ui optional for gobot
2016-07-17 23:50:59 -07:00
f1ae71ecc0
Made Spectator/term ui pluggable
2016-07-17 23:50:59 -07:00
f9984c1826
fix panic with invalid bot name
2016-07-17 09:54:36 -07:00
174be3b0ab
added license
2016-07-13 21:40:14 -06:00
Fraser Graham
9be5f226f5
Providing the bot ID to name mapping to the player after negotiation
2016-07-13 21:28:57 -06:00
6c67d83f49
removed StatsReq from client struct
2016-07-13 20:12:46 -06:00
c21e0c5582
Change how server address is specified
...
now you spell it as such:
gobot -addr wss://hackerbots.us
gobot -addr ws://localhost:8666
2016-07-13 19:46:08 -06:00
Fraser Graham
35cb8431f6
Moved definition of what robots have which stats into the player interface
2016-07-13 16:04:48 -06:00
70adb5b713
move main packages to standard location
2016-07-13 14:48:56 -06:00
3668c09235
fixed negotiate misspelling
2016-07-13 12:31:28 -06:00
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
8a85c94767
draw own bot last
2015-08-31 21:59:21 -07:00
623dfa4c48
Remove spurious logging
2015-08-31 21:55:18 -07:00
3ef90af341
All robots are spectators
2015-08-31 21:48:25 -07:00
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
84f151864b
updated import paths for go tools repo
...
See golang.org/s/go14subrepo for background.
2014-11-11 21:28:01 -08:00
f6439cf41d
cleanly close spectator if server dies
2014-05-13 00:23:14 -07:00
f06ccd2588
trying to visualize bot direction
2014-05-12 22:30:55 -07:00
bb072255cd
Added splosion visualization
2014-05-12 22:11:44 -07:00
14297191ed
Update to new protocol (Update)
2014-05-11 23:13:00 -07:00
d3e7a247c8
float32 -> float64
2014-05-11 23:11:58 -07:00
2b710ef40d
Removed the MiniObstacle nonsense.
2014-05-11 23:10:59 -07:00
b074dda677
Added curses (termbox) spectator mode
2014-05-11 21:45:26 -07:00
7d77f18470
simple spectator that says hi every message
2014-05-11 21:45:26 -07: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