Fraser Graham
855b8518b8
weapon stats are now set via robot
2013-11-06 21:07:31 -08:00
Fraser Graham
dfb3dba4f4
proper player collision and direct hit capability
2013-11-06 20:47:40 -08:00
Fraser Graham
545b68d1d7
projectiles should have their own ID
2013-11-06 20:32:56 -08:00
Fraser Graham
43b68f27f8
remove some unused data from payload
2013-11-06 20:09:45 -08:00
Fraser Graham
c8913c563e
I may have fixed some collision issues (badly)
2013-11-05 23:21:41 -08:00
Fraser Graham
1498414357
tweaks in support of better rendering
2013-10-28 23:35:00 -07:00
Fraser Graham
a4b539e79d
accurate collition positioning
2013-10-28 21:52:06 -07:00
Fraser Graham
5c77e373c3
scanners for projectiles
2013-10-25 22:51:41 -07:00
Fraser Graham
14f6c65e86
obstacle support
2013-10-25 22:30:15 -07:00
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
2013-10-24 20:13:21 -07:00
Fraser Graham
71f7a262ba
enabled player collisions
2013-10-21 09:28:50 -07:00
Fraser Graham
c910902d38
collision work
2013-10-21 07:49:56 -07:00
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
2013-10-20 21:15:23 -07:00
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
2013-10-19 17:29:40 -07:00
Fraser Graham
f9b18eb253
Convert to 32-bit to save space in the serialization
2013-10-19 00:00:51 -07:00
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
2013-10-18 23:22:35 -07:00
Fraser Graham
2edc7c61af
fixing bug where heading can be 0
2013-10-18 20:40:09 -07:00
83da3961cd
infinite melee!!
2013-09-28 13:19:44 -07:00
56c965add7
some clean up
...
Mainly adding some comments, and some function renaming
2013-09-28 12:59:17 -07:00
e33f2c0c4f
moved code out of awkward bots repo
2013-09-27 22:27:05 -07:00
Fraser Graham
92a2040d70
Adding collisions and acceleration. Fixing splosions and projectiles.
2013-09-27 01:30:26 -07:00
13c0cd047b
use user-provided name in /game/list/ output
2013-09-26 21:51:57 -07:00
f8378cf89b
Got game working again
...
I just moved some old code into the game struct; probably still merits some
cleanup in the main loop.
2013-09-20 12:15:10 -06:00
f175e45c63
added simple, non-leaking game stop url
2013-09-08 09:32:24 -07:00
b7087adb78
reuse some slices
2013-09-07 19:13:12 -07:00
fb0e6d92d7
Sorted out extra load
...
turns out we were never exiting the loop even when all bots left. Games now
shut down when there ever has been bots and they all leave (or are killed,
I think).
2013-09-04 23:23:05 -07:00
3e805d3da7
remove game from player struct
2013-09-04 00:08:43 -07:00
64477f5e47
stray pointer conversion
2013-09-04 00:07:22 -07:00
9bccf60abc
make member a pointer for nil json
2013-09-04 00:05:38 -07:00
33c08abbc5
forgot to git add
2013-09-03 23:35:42 -07:00
b495b16065
refactor for bot
2013-09-03 23:26:40 -07:00
1b29096479
pared down logging in favor of unittests
2013-08-26 23:02:41 -07:00
7997b15c26
fixed initial position bug
2013-08-19 23:25:08 -07:00
e391cd3a0b
Changed to use user-provided stats.
2013-08-19 21:42:43 -07:00
3b183481ef
added rest of game in current state
2013-08-19 20:43:26 -07:00