Commit Graph

82 Commits

Author SHA1 Message Date
446eba5209 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.
2015-04-30 23:07:21 -07:00
c9dfa27320 Add support for fixed object geometry
also updated config file
2014-05-11 21:49:06 -07:00
961cf5d7da Make obstacles know how to minify themselves
including a fix for using pointers instead of values.
2014-05-11 21:48:47 -07:00
8f7ef5aa1a float32 -> float64 2014-04-26 15:36:04 -07:00
72d0843ff8 Renamed package/directory 2014-04-23 14:28:13 -07:00
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