Commit Graph

61 Commits

Author SHA1 Message Date
Fraser Graham
37d0335f92 Include robot Id in the Stats structure that gets sent back to the client 2016-07-13 21:28:08 -06:00
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
Stephen McQuay
b15f010073 updated import paths for go tools repo
See golang.org/s/go14subrepo for background.
2014-11-11 21:28:43 -08: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
db28bfea11 Renamed obstacle -> obstacle count 2014-04-26 15:32:14 -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
6e9a6d6af1 support for botclient refactor 2014-04-08 23:45:07 -07:00
a956162205 Plumbed Delta and the IdGenerator back through 2014-03-31 23:21:20 -07:00
0d11b8a0ba Added docs around MapLock, change visibility of methods
Removed unused global
2014-03-31 23:21:19 -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
9a4b76f610 Added io.Reader and io.Writer wrapper
This finalizes the work on getting the server to support multiple encodings for
players and spectators.
2014-03-13 00:12:21 -07:00
e6c7abc969 Implemented Fraser's suggestion
Typically client offers supported encodings, then the server chooses the
optimal one.
2014-03-10 21:58:36 -07:00
f645c42eb3 Added encoding negociation step into protocol.
This is the first step involved in letting go clients talk gob to the game
server.

Still missing: actually use the client's prefered encoding
2014-03-10 00:05:25 -07:00
00373be3da fixed misspelling 2014-03-10 00:03:51 -07: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
491d972a4b added NewSpectator and NewPlayer funcs 2014-02-17 01:07:29 -08:00
5d9103f176 Pulled out common code from spectator and player 2014-02-17 00:42:52 -08:00
bc58ee9165 solved spectator disconnect issue 2014-01-29 22:12:26 -08:00
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.
2014-01-23 23:00:45 -08:00
7bb5ae59b3 send the client calculated values for stats 2014-01-23 21:11:13 -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
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
3bb710dd9c point limit parametrized 2013-11-29 01:10:49 -07:00
Fraser Graham
c9f0fb08bb removing unused field in boardstate 2013-11-16 23:16:12 -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
50868809bd revert me: default to allowing connecting players to start games 2013-11-14 00:18:46 -08:00
2e774285ba quieted things down slightly (logging) 2013-11-13 23:47:42 -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
Fraser Graham
c7d5e4be87 support setting heading in instructions 2013-11-11 21:36:11 -08:00
Fraser Graham
3f40fe4603 put point limit back to normal 2013-11-11 20:31:46 -08:00
Fraser Graham
9de2b51f46 fixed naming 2013-11-08 22:59:56 -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
14f6c65e86 obstacle support 2013-10-25 22:30:15 -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