9e1cd272f7
Fixed warnings generated by go vet
2014-04-14 00:39:42 -07:00
faacfe7fd9
First pass at documentations.
2014-04-14 00:26:41 -07:00
752cec48f3
Removed unecessary tiredness vulgarity
2014-04-07 23:27:34 -07:00
e185365e2d
moved MapLock to control
2014-03-31 23:21:19 -07:00
2fd97a7092
Removed extra variables
2014-03-31 23:21:18 -07:00
81beee8b43
Put delete of game from controller in right place
...
Added some debugging
2014-03-31 23:21:16 -07:00
c8efd34080
ignore new binary
...
Create new bserv binary
Herein lie the following ideas:
- change package visibility of many things
- try to stash the globals into structs
- the code is far from correct; it merely compiles
2014-03-31 23:21:14 -07:00
0959be2df2
updated for changes in bandwidth
2014-03-08 18:27:48 -08:00
6fd4138740
added bw calcs
...
unfortunately there is an issue with how these are calculated, and they don't
decrease as things quiet down. Well, the bad numbers are their for your
consumption, and should Just Work TM when appropriate changes in
bitbucket.org/smcquay/bandwith land. And they will. But I'm tired now.
2014-03-03 22:56:26 -08:00
bc58ee9165
solved spectator disconnect issue
2014-01-29 22:12:26 -08:00
c6c45ace51
cleaned up some logging
2014-01-23 21:09:27 -08:00
d3070ad501
send the client max points for the game
2014-01-22 22:14:22 -08:00
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/
2014-01-16 00:56:35 -08:00
Fraser Graham
72d5a1a64c
stats stats stats stats
2014-01-16 00:13:02 -08:00
Fraser Graham
3fa53daadb
rewrite of the stats system
2014-01-16 00:02:59 -08:00
Fraser Graham
90b7731865
allow the control interface to specify game type
2014-01-15 22:16:06 -08:00
Fraser Graham
9583de2ffa
game types, deathmatch and melee
2014-01-15 21:41:40 -08:00
3bb710dd9c
point limit parametrized
2013-11-29 01:10:49 -07:00
Fraser Graham
9ca442f10d
stop sending all data to dead robots
2013-11-18 22:49:05 -08:00
4eb849a63f
fixed resetart error vis-a-vis obstacles
2013-11-18 08:52:59 -08:00
Fraser Graham
58c084c7ab
bandwidth reduction, filtering explosions and sending objects as [4]int
2013-11-16 23:13:03 -08:00
5a2651d0dd
allow object specification
2013-11-16 19:57:13 -08:00
245c483f9e
added simple game stats
2013-11-13 23:45:02 -08:00
84ed6c9c32
added gameover packet
2013-11-13 22:24:54 -08:00
aabda1cc90
added config file support
2013-11-13 20:38:57 -08:00
674cda293f
renamed function to match go convention
2013-11-09 22:05:37 -08:00
Fraser Graham
570d8eea8e
get multibots working
2013-11-08 22:26:56 -08:00
Fraser Graham
e39a97089e
First pass of multibot support
2013-11-08 21:25:42 -08:00
49ff6af1f3
minor cleanup
...
- removed comment-disabled code
- reduced verbosity in protocol logging
2013-11-07 22:11:54 -08:00
caea45741f
Added ability to configure game at creation time
2013-11-07 22:11:54 -08:00
Fraser Graham
164c37e7d6
player messages
2013-11-07 22:10:18 -08:00
Fraser Graham
1b42a19393
active scanning
2013-11-07 21:34:54 -08:00
Fraser Graham
3d0eb16f91
game params
2013-11-07 21:00:15 -08:00
Fraser Graham
cfd3d91942
filter projectiles and objects by scanners
2013-11-06 22:21:18 -08:00
Fraser Graham
cd9bb45ddc
sort the all bots list
2013-11-06 21:12:19 -08:00
Fraser Graham
43b68f27f8
remove some unused data from payload
2013-11-06 20:09:45 -08:00
Fraser Graham
1498414357
tweaks in support of better rendering
2013-10-28 23:35:00 -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
cc248dc2fe
adding a listing of all bot id's and health to each payload
2013-10-24 06:26:54 -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
776a7eee98
split splosions and projectiles into separate files
2013-10-20 20:54:19 -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
c074397c1f
bugfix for incorrect logic in game creation
2013-10-18 23:56:06 -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
d19b3f71fa
added ability to autovivify games in debug mode
2013-10-18 20:49:57 -07:00
Fraser Graham
e02c5f89fb
make projectiles arrive at their destination regardless of tick time
2013-10-18 20:39:53 -07:00
158c7d90d8
fixed tick bombs
2013-10-01 21:37:53 -07:00
83da3961cd
infinite melee!!
2013-09-28 13:19:44 -07:00