Stephen McQuay
b8491e384d
Adds dummy prom metrics for alerting
4 years ago
Stephen McQuay
78b1711cd9
update for modern assetfs
6 years ago
Stephen McQuay
e71d11cd4d
temporary fix for stats route
7 years ago
Stephen McQuay
7818a64756
enable static asset serving
...
- It changes behavior depending on if STATIC is set.
- will need to run $(go generate ./...) before compiles will work
7 years ago
Stephen McQuay
5cac75b638
Made info url more useful (start and uptime)
7 years ago
Stephen McQuay
b5cac7c02a
placed REST api behind /api/v0/
7 years ago
Stephen McQuay
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.
7 years ago
Stephen McQuay
f86bacbd69
Used the idg.Generator from github
8 years ago
Stephen McQuay
3eb76009ad
moved http routes out of the server main()
8 years ago
Stephen McQuay
c9dfa27320
Add support for fixed object geometry
...
also updated config file
8 years ago
Stephen McQuay
8f7ef5aa1a
float32 -> float64
8 years ago
Stephen McQuay
db28bfea11
Renamed obstacle -> obstacle count
8 years ago
Stephen McQuay
72d0843ff8
Renamed package/directory
8 years ago
Stephen McQuay
9e1cd272f7
Fixed warnings generated by go vet
8 years ago
Stephen McQuay
faacfe7fd9
First pass at documentations.
8 years ago
Stephen McQuay
a956162205
Plumbed Delta and the IdGenerator back through
8 years ago
Stephen McQuay
0d11b8a0ba
Added docs around MapLock, change visibility of methods
...
Removed unused global
8 years ago
Stephen McQuay
e185365e2d
moved MapLock to control
8 years ago
Stephen McQuay
a3fa670c3d
Fixed scoping issue
...
The bug here was that when you would try to start a game it would still be nil
after the block where g was redefined. Just me being sloppy.
8 years ago
Stephen McQuay
81beee8b43
Put delete of game from controller in right place
...
Added some debugging
8 years ago
Stephen McQuay
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
8 years ago
Stephen McQuay
a932d24683
Added a memprofile dump flag and mechanism
8 years ago
Stephen McQuay
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.
8 years ago
Fraser Graham
72d5a1a64c
stats stats stats stats
9 years ago
Fraser Graham
3fa53daadb
rewrite of the stats system
9 years ago
Fraser Graham
90b7731865
allow the control interface to specify game type
9 years ago
Stephen McQuay
3bb710dd9c
point limit parametrized
9 years ago
Stephen McQuay
5a2651d0dd
allow object specification
9 years ago
Stephen McQuay
f6b3027ded
minor: changed some logging
9 years ago
Stephen McQuay
f8fb523a76
fixed some httpstatu.es
9 years ago
Stephen McQuay
527042daa8
added logging for inability to kill
9 years ago
Stephen McQuay
245c483f9e
added simple game stats
9 years ago
Stephen McQuay
aabda1cc90
added config file support
9 years ago
Stephen McQuay
da26e1ca46
simplified some loops
...
These changes were done by running the following command:
gofmt -s -w *.go
9 years ago
Fraser Graham
e39a97089e
First pass of multibot support
9 years ago
Stephen McQuay
c9ba660e7f
added server info for the / route
9 years ago
Stephen McQuay
caea45741f
Added ability to configure game at creation time
9 years ago
Stephen McQuay
c074397c1f
bugfix for incorrect logic in game creation
9 years ago
Stephen McQuay
d19b3f71fa
added ability to autovivify games in debug mode
9 years ago
Stephen McQuay
f4e2e84676
added more logging to control requests
9 years ago
Stephen McQuay
e06f70aed6
go fmt
9 years ago
Stephen McQuay
bd4cb39828
added profiling flag and kill channel
9 years ago
Stephen McQuay
56c965add7
some clean up
...
Mainly adding some comments, and some function renaming
9 years ago
Stephen McQuay
c5bddcdc31
renamed the file housing the http control protocol, removed defunct test
9 years ago
Stephen McQuay
2a2f4f6f96
moved all negociation code into a single function
9 years ago
Stephen McQuay
e33f2c0c4f
moved code out of awkward bots repo
9 years ago
Stephen McQuay
472e2011b9
logging and infinite melee
9 years ago
Stephen McQuay
13c0cd047b
use user-provided name in /game/list/ output
9 years ago
Stephen McQuay
f175e45c63
added simple, non-leaking game stop url
9 years ago
Stephen McQuay
bf853880ca
go fmt
9 years ago