Stephen McQuay
15d41be35a
added bootstrap
5 years ago
Stephen McQuay
5cac75b638
Made info url more useful (start and uptime)
5 years ago
Stephen McQuay
b5cac7c02a
placed REST api behind /api/v0/
5 years ago
Stephen McQuay
af926d7f3a
renamed botserv -> hbd
5 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.
5 years ago
Stephen McQuay
d00e2a8df8
some go fmt
6 years ago
Stephen McQuay
f86bacbd69
Used the idg.Generator from github
6 years ago
Stephen McQuay
3eb76009ad
moved http routes out of the server main()
6 years ago
Stephen McQuay
b15f010073
updated import paths for go tools repo
See golang.org/s/go14subrepo for background.
6 years ago
Fraser Graham
b05e17709c
changes to how acceleration works
6 years ago
Fraser Graham
af418f1e6f
Fixing reversing and wall collisions
6 years ago
Stephen McQuay
06ce7eefc8
Removed dependance on os/user
This was done to make cross-compiling work again
6 years ago
Stephen McQuay
c9dfa27320
Add support for fixed object geometry
also updated config file
6 years ago
Stephen McQuay
961cf5d7da
Make obstacles know how to minify themselves
including a fix for using pointers instead of values.
6 years ago
Stephen McQuay
8f7ef5aa1a
float32 -> float64
6 years ago
Stephen McQuay
db28bfea11
Renamed obstacle -> obstacle count
6 years ago
Stephen McQuay
2a9c178ebb
go fmt
6 years ago
Stephen McQuay
bd1d861971
fix for bug involving probe order
6 years ago
Fraser Graham
ba700ba633
bah humbug
6 years ago
Stephen McQuay
39b8a9e5d7
allow gob spectators to send back Instruction maps
6 years ago
Fraser Graham
ab3586e5aa
Fixing the robot through building bug
6 years ago
Stephen McQuay
6da0bfac7a
Renamed config file, added sample
did this to allow for other configs in our namespace.
6 years ago
Stephen McQuay
fd53d3e51e
don't rename package without need.
6 years ago
Stephen McQuay
72d0843ff8
Renamed package/directory
6 years ago
Stephen McQuay
9e1cd272f7
Fixed warnings generated by go vet
6 years ago
Stephen McQuay
faacfe7fd9
First pass at documentations.
6 years ago
Stephen McQuay
0cf0957d73
More documentations.
6 years ago
Stephen McQuay
996f6c02da
Changed executable name back to botserv
6 years ago
Stephen McQuay
6e9a6d6af1
support for botclient refactor
6 years ago
Stephen McQuay
752cec48f3
Removed unecessary tiredness vulgarity
6 years ago
Stephen McQuay
a956162205
Plumbed Delta and the IdGenerator back through
6 years ago
Stephen McQuay
8b52f93ca5
Don't automatically do concurrency for users
http://talks.golang.org/2013/bestpractices.slide#25
6 years ago
Stephen McQuay
0d11b8a0ba
Added docs around MapLock, change visibility of methods
Removed unused global
6 years ago
Stephen McQuay
e185365e2d
moved MapLock to control
6 years ago
Stephen McQuay
e02d220026
Fixed gob issue
6 years ago
Stephen McQuay
2fd97a7092
Removed extra variables
6 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.
6 years ago
Stephen McQuay
330e72c21f
Fixed unittests
6 years ago
Stephen McQuay
81beee8b43
Put delete of game from controller in right place
Added some debugging
6 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
6 years ago
Stephen McQuay
62222a9ad9
Removed a development json file
6 years ago
Stephen McQuay
9a4b76f610
Added io.Reader and io.Writer wrapper
This finalizes the work on getting the server to support multiple encodings for
players and spectators.
6 years ago
Stephen McQuay
e6c7abc969
Implemented Fraser's suggestion
Typically client offers supported encodings, then the server chooses the
optimal one.
6 years ago
Stephen McQuay
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
6 years ago
Stephen McQuay
00373be3da
fixed misspelling
6 years ago
Stephen McQuay
240492520e
I was passing around a member variable.
I just realized that there is no need to pass around a slice to something to
which protoTalker already has access.
6 years ago
Stephen McQuay
67ad90d7a4
added logging line when using http profile info
I could never remember the url, so I print it out now.
6 years ago
Stephen McQuay
0959be2df2
updated for changes in bandwidth
6 years ago
Stephen McQuay
a932d24683
Added a memprofile dump flag and mechanism
6 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.
6 years ago