Stephen McQuay
0bc1575f81
fixed bug in last commit
7 years ago
Stephen McQuay
5d9103f176
Pulled out common code from spectator and player
7 years ago
Stephen McQuay
b131b4bc53
Count bytes coming in/out of player
7 years ago
Stephen McQuay
ad9d6c1026
Switched to using json.Encoder and Decoder
7 years ago
Stephen McQuay
bc58ee9165
solved spectator disconnect issue
7 years ago
Stephen McQuay
eac39ad9d1
Changed the collision response from boolean to Collision
7 years ago
Stephen McQuay
0698f21a0f
Merge branch 'master' of ssh://bitbucket.org/hackerbots/botserv
7 years ago
Stephen McQuay
ff3f9a5137
changed the stats payload
As it turns out there are other citizens of this world, not just the botclient.
So I have properly labeled the payload with a type. This makes the web
front-end less breaky.
7 years ago
Fraser Graham
dce3f15c4c
self shots are still suicides
7 years ago
Stephen McQuay
7bb5ae59b3
send the client calculated values for stats
7 years ago
Stephen McQuay
c6c45ace51
cleaned up some logging
7 years ago
Stephen McQuay
d3070ad501
send the client max points for the game
7 years ago
Stephen McQuay
a57903d81c
added tests for last commit (ProbeResult.Type)
7 years ago
Stephen McQuay
714ea669d2
added probe result type
7 years ago
Stephen McQuay
a755d28688
parity to formatting
7 years ago
Stephen McQuay
7971198c17
Fixed collision detection in probes
This was a problem before when the probe hit an object that was further than
another object first. Now we traverse all objects all the time to find the
closest one. \o/
7 years ago
Fraser Graham
72d5a1a64c
stats stats stats stats
7 years ago
Fraser Graham
3fa53daadb
rewrite of the stats system
7 years ago
Fraser Graham
90b7731865
allow the control interface to specify game type
7 years ago
Fraser Graham
9583de2ffa
game types, deathmatch and melee
7 years ago
Stephen McQuay
845db00032
added file line numbers to the logs
7 years ago
Stephen McQuay
10373d06d2
update for api change in vector
7 years ago
Stephen McQuay
cf3c7e8629
Merge branch 'point-limit'
7 years ago
Stephen McQuay
3bb710dd9c
point limit parametrized
7 years ago
Fraser Graham
33aea792ed
allow probes while repairing and scanning
7 years ago
Fraser Graham
ffbd656bc7
stop firing
7 years ago
Fraser Graham
83f5d51bc4
min damage from collisions
7 years ago
Fraser Graham
f6c8399699
changes to collision response and player to player collision
7 years ago
Fraser Graham
34b8ec045f
start using new poly intersection against buildings
7 years ago
Fraser Graham
b702afeb3a
renaming rect to AABB
7 years ago
Fraser Graham
9ca442f10d
stop sending all data to dead robots
7 years ago
Stephen McQuay
4eb849a63f
fixed resetart error vis-a-vis obstacles
7 years ago
Fraser Graham
cacb8b547d
:( compile code before committing Fraser
7 years ago
Fraser Graham
4c4c0d4e67
objects have HP now, only direct hits hurt them
7 years ago
Fraser Graham
ae9d09596c
prevent flipping between scan and repair for infinite awesomeness
7 years ago
Fraser Graham
c9f0fb08bb
removing unused field in boardstate
7 years ago
Fraser Graham
58c084c7ab
bandwidth reduction, filtering explosions and sending objects as [4]int
7 years ago
Stephen McQuay
5a2651d0dd
allow object specification
7 years ago
Stephen McQuay
f6b3027ded
minor: changed some logging
7 years ago
Stephen McQuay
4e55fa8ebe
trim the hashes
I tried taking it down to 6, but it fails the tests consistently ...
7 years ago
Stephen McQuay
f8fb523a76
fixed some httpstatu.es
7 years ago
Stephen McQuay
50868809bd
revert me: default to allowing connecting players to start games
7 years ago
Stephen McQuay
2cbef76a37
cap healing health
7 years ago
Stephen McQuay
527042daa8
added logging for inability to kill
7 years ago
Stephen McQuay
2e774285ba
quieted things down slightly (logging)
7 years ago
Stephen McQuay
245c483f9e
added simple game stats
7 years ago
Stephen McQuay
84ed6c9c32
added gameover packet
7 years ago
Stephen McQuay
aabda1cc90
added config file support
7 years ago
Fraser Graham
c7d5e4be87
support setting heading in instructions
7 years ago
Fraser Graham
3f40fe4603
put point limit back to normal
7 years ago