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
|
c6c45ace51
|
cleaned up some logging
|
7 years ago |
Fraser Graham
|
3fa53daadb
|
rewrite of the stats system
|
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
|
ae9d09596c
|
prevent flipping between scan and repair for infinite awesomeness
|
7 years ago |
Stephen McQuay
|
84ed6c9c32
|
added gameover packet
|
7 years ago |
Fraser Graham
|
c7d5e4be87
|
support setting heading in instructions
|
7 years ago |
Fraser Graham
|
d3c08a7953
|
move robot code into robot file
|
7 years ago |
Fraser Graham
|
570d8eea8e
|
get multibots working
|
7 years ago |
Fraser Graham
|
e39a97089e
|
First pass of multibot support
|
7 years ago |
Stephen McQuay
|
49ff6af1f3
|
minor cleanup
- removed comment-disabled code
- reduced verbosity in protocol logging
|
7 years ago |
Stephen McQuay
|
b490cfc228
|
made it so bots start inside world
|
7 years ago |
Fraser Graham
|
1b42a19393
|
active scanning
|
7 years ago |
Fraser Graham
|
3d0eb16f91
|
game params
|
7 years ago |
Fraser Graham
|
b01654ec76
|
minor tweak to projectile scanning
|
7 years ago |
Fraser Graham
|
eabc1ebb41
|
probe result
|
7 years ago |
Fraser Graham
|
829ba83f41
|
probes!!!! (not anal)
|
7 years ago |
Fraser Graham
|
d2ae3c11d8
|
alert the robot if it's been hit
|
7 years ago |
Fraser Graham
|
082b737805
|
first pass at repair mode
|
7 years ago |
Fraser Graham
|
e562e2fefb
|
players can now set target speed in bot code
|
7 years ago |
Fraser Graham
|
855b8518b8
|
weapon stats are now set via robot
|
7 years ago |
Fraser Graham
|
dfb3dba4f4
|
proper player collision and direct hit capability
|
7 years ago |
Fraser Graham
|
545b68d1d7
|
projectiles should have their own ID
|
7 years ago |
Fraser Graham
|
43b68f27f8
|
remove some unused data from payload
|
7 years ago |
Fraser Graham
|
c8913c563e
|
I may have fixed some collision issues (badly)
|
7 years ago |
Fraser Graham
|
1498414357
|
tweaks in support of better rendering
|
7 years ago |
Fraser Graham
|
a4b539e79d
|
accurate collition positioning
|
7 years ago |
Fraser Graham
|
5c77e373c3
|
scanners for projectiles
|
7 years ago |
Fraser Graham
|
14f6c65e86
|
obstacle support
|
7 years ago |
Fraser Graham
|
de68ec2e7b
|
Create a stripped down version of the robot struct to represent all robots and break up the update into my_robots and robots.
Has dependent change on client
|
7 years ago |
Fraser Graham
|
71f7a262ba
|
enabled player collisions
|
7 years ago |
Fraser Graham
|
c910902d38
|
collision work
|
7 years ago |
Fraser Graham
|
200afffa7f
|
moved a bunch of logic out of run and into functions of the game, for a cleaner separation of functionality.
Also, removed a bunch of overly verbose logging
|
7 years ago |
Fraser Graham
|
fd13cb318a
|
removed unecessary data from payload sent to the client and filter outgoing robot list by scanner contents for each player until they die
|
7 years ago |
Fraser Graham
|
f9b18eb253
|
Convert to 32-bit to save space in the serialization
|
7 years ago |
Fraser Graham
|
c80acb478b
|
All sorts of fun stuff...
- stats are now based on a 1-100 ranged and mapped to sensibles
- turnspeed and fire rate are available stats
- bugs in movement are squished
|
7 years ago |
Fraser Graham
|
2edc7c61af
|
fixing bug where heading can be 0
|
7 years ago |
Stephen McQuay
|
83da3961cd
|
infinite melee!!
|
7 years ago |
Stephen McQuay
|
56c965add7
|
some clean up
Mainly adding some comments, and some function renaming
|
7 years ago |
Stephen McQuay
|
e33f2c0c4f
|
moved code out of awkward bots repo
|
7 years ago |
Fraser Graham
|
92a2040d70
|
Adding collisions and acceleration. Fixing splosions and projectiles.
|
7 years ago |
Stephen McQuay
|
13c0cd047b
|
use user-provided name in /game/list/ output
|
7 years ago |
Stephen McQuay
|
f8378cf89b
|
Got game working again
I just moved some old code into the game struct; probably still merits some
cleanup in the main loop.
|
7 years ago |
Stephen McQuay
|
f175e45c63
|
added simple, non-leaking game stop url
|
7 years ago |
Stephen McQuay
|
b7087adb78
|
reuse some slices
|
7 years ago |