Stephen McQuay
f9984c1826
fix panic with invalid bot name
6 years ago
Stephen McQuay
174be3b0ab
added license
6 years ago
Fraser Graham
9be5f226f5
Providing the bot ID to name mapping to the player after negotiation
6 years ago
Stephen McQuay
6c67d83f49
removed StatsReq from client struct
6 years ago
Stephen McQuay
c21e0c5582
Change how server address is specified
...
now you spell it as such:
gobot -addr wss://hackerbots.us
gobot -addr ws://localhost:8666
6 years ago
Fraser Graham
35cb8431f6
Moved definition of what robots have which stats into the player interface
6 years ago
Stephen McQuay
70adb5b713
move main packages to standard location
6 years ago
Stephen McQuay
3668c09235
fixed negotiate misspelling
6 years ago
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.
7 years ago
Stephen McQuay
8a85c94767
draw own bot last
7 years ago
Stephen McQuay
623dfa4c48
Remove spurious logging
7 years ago
Stephen McQuay
3ef90af341
All robots are spectators
7 years ago
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.
7 years ago
Stephen McQuay
84f151864b
updated import paths for go tools repo
...
See golang.org/s/go14subrepo for background.
8 years ago
Stephen McQuay
f6439cf41d
cleanly close spectator if server dies
8 years ago
Stephen McQuay
f06ccd2588
trying to visualize bot direction
8 years ago
Stephen McQuay
bb072255cd
Added splosion visualization
8 years ago
Stephen McQuay
14297191ed
Update to new protocol (Update)
8 years ago
Stephen McQuay
d3e7a247c8
float32 -> float64
8 years ago
Stephen McQuay
2b710ef40d
Removed the MiniObstacle nonsense.
8 years ago
Stephen McQuay
b074dda677
Added curses (termbox) spectator mode
8 years ago
Stephen McQuay
7d77f18470
simple spectator that says hi every message
8 years ago
Stephen McQuay
2d8b878f50
correct go vet errors
8 years ago
Stephen McQuay
bbfb2af4a9
don't rename package without need.
8 years ago
Stephen McQuay
b63780c2bc
Forgot to die if negociation failed.
8 years ago
Stephen McQuay
51d0522833
renamed package/directory
8 years ago
Stephen McQuay
7e4e6faa00
Added documentation
8 years ago
Stephen McQuay
6331803887
Moved enc/dec definition out of play func
8 years ago
Stephen McQuay
d0c3b5a117
prep code for reuse
8 years ago
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
8 years ago
Stephen McQuay
bb3d9e16e4
allow for overriding encodings
9 years ago
Stephen McQuay
839b5789e3
Implemented multiple encoders/decoders
...
I really think we're close here; once we have gob server-side this might just
work.
9 years ago
Stephen McQuay
dc7db48201
Fixed protocol bug I introduced
9 years ago
Stephen McQuay
eec52769dd
Implemented Fraser's suggestions
9 years ago
Stephen McQuay
21705cc16e
Added encoding negociation to protocol
9 years ago
Stephen McQuay
ed39916f17
Added some debug logging
9 years ago
Stephen McQuay
e02dc2f348
Changed the collision response from boolean to Collision
9 years ago
Stephen McQuay
29b078e637
changed the stats payload
9 years ago
Stephen McQuay
7cb38a76aa
recv the calculated stats values
9 years ago
Stephen McQuay
b964a14bba
lockstep changes for server sending max points
9 years ago
Stephen McQuay
787bf9b435
updated ProbeResult struct for type
9 years ago
Stephen McQuay
5b438b7ffe
renamed to randomDirection to reflect what function does
9 years ago
Stephen McQuay
4d0eac703c
removed unecessary looping from probe
9 years ago
Stephen McQuay
5b8ec0b8ab
consider destination slightly before collision
...
also: added verbose blocks for logging
9 years ago
Stephen McQuay
a122577019
fixed stalling robots
9 years ago
Stephen McQuay
b16886cbac
simplest shooting algo
9 years ago
Stephen McQuay
a1cc24f2a0
reasonable object avoidance.
9 years ago
Stephen McQuay
82e54c28e7
loglines
9 years ago
Stephen McQuay
ff0b5bea4e
fixed import issue
9 years ago
Stephen McQuay
e1bed61a00
unstopped failure conditions
9 years ago