Commit Graph

214 Commits

Author SHA1 Message Date
Stephen McQuay bb5f76cd97 got self-hosted website working. 2015-08-30 02:16:44 -07:00
Stephen McQuay 6bad869501 added fetching of source 2015-08-30 01:48:35 -07:00
Stephen McQuay 33f94af784 render arena 2015-08-27 22:29:50 -07:00
Stephen McQuay 6bad86730e List available games on front page 2015-08-27 21:43:09 -07:00
Stephen McQuay 28353170c6 Renamed botsrv 2015-08-27 20:49:01 -07:00
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
2015-08-26 23:16:12 -07:00
Stephen McQuay 6797c134d1 first wave of static assets 2015-08-26 23:15:53 -07:00
Stephen McQuay 77f9f8033b added ace editor 2015-08-26 23:14:54 -07:00
Stephen McQuay 4b5c214f95 added jquery 2015-08-26 23:14:26 -07:00
Stephen McQuay 15d41be35a added bootstrap 2015-08-26 23:14:13 -07:00
Stephen McQuay 5cac75b638 Made info url more useful (start and uptime) 2015-08-26 22:25:38 -07:00
Stephen McQuay b5cac7c02a placed REST api behind /api/v0/ 2015-08-26 22:18:48 -07:00
Stephen McQuay af926d7f3a renamed botserv -> hbd 2015-08-26 22:17:28 -07:00
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.
2015-04-30 23:07:21 -07:00
Stephen McQuay d00e2a8df8 some go fmt 2014-11-24 14:42:38 -08:00
Stephen McQuay f86bacbd69 Used the idg.Generator from github 2014-11-24 14:42:11 -08:00
Stephen McQuay 3eb76009ad moved http routes out of the server main() 2014-11-24 14:32:27 -08: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
Fraser Graham b05e17709c changes to how acceleration works 2014-05-12 22:36:14 -07:00
Fraser Graham af418f1e6f Fixing reversing and wall collisions 2014-05-12 22:36:03 -07:00
Stephen McQuay 06ce7eefc8 Removed dependance on os/user
This was done to make cross-compiling work again
2014-05-11 21:49:18 -07:00
Stephen McQuay c9dfa27320 Add support for fixed object geometry
also updated config file
2014-05-11 21:49:06 -07:00
Stephen McQuay 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
Stephen McQuay 8f7ef5aa1a float32 -> float64 2014-04-26 15:36:04 -07:00
Stephen McQuay db28bfea11 Renamed obstacle -> obstacle count 2014-04-26 15:32:14 -07:00
Stephen McQuay 2a9c178ebb go fmt 2014-04-26 15:24:20 -07:00
Stephen McQuay bd1d861971 fix for bug involving probe order 2014-04-26 15:15:14 -07:00
Fraser Graham ba700ba633 bah humbug 2014-04-26 16:13:31 -06:00
Stephen McQuay 39b8a9e5d7 allow gob spectators to send back Instruction maps 2014-04-26 13:25:30 -07:00
Fraser Graham ab3586e5aa Fixing the robot through building bug 2014-04-26 13:26:33 -06:00
Stephen McQuay 6da0bfac7a Renamed config file, added sample
did this to allow for other configs in our namespace.
2014-04-26 10:25:23 -07:00
Stephen McQuay fd53d3e51e don't rename package without need. 2014-04-23 14:54:39 -07:00
Stephen McQuay 72d0843ff8 Renamed package/directory 2014-04-23 14:28:13 -07:00
Stephen McQuay 9e1cd272f7 Fixed warnings generated by go vet 2014-04-14 00:39:42 -07:00
Stephen McQuay faacfe7fd9 First pass at documentations. 2014-04-14 00:26:41 -07:00
Stephen McQuay 0cf0957d73 More documentations. 2014-04-13 22:54:48 -07:00
Stephen McQuay 996f6c02da Changed executable name back to botserv 2014-04-13 19:51:26 -07:00
Stephen McQuay 6e9a6d6af1 support for botclient refactor 2014-04-08 23:45:07 -07:00
Stephen McQuay 752cec48f3 Removed unecessary tiredness vulgarity 2014-04-07 23:27:34 -07:00
Stephen McQuay a956162205 Plumbed Delta and the IdGenerator back through 2014-03-31 23:21:20 -07:00
Stephen McQuay 8b52f93ca5 Don't automatically do concurrency for users
http://talks.golang.org/2013/bestpractices.slide#25
2014-03-31 23:21:20 -07:00
Stephen McQuay 0d11b8a0ba Added docs around MapLock, change visibility of methods
Removed unused global
2014-03-31 23:21:19 -07:00
Stephen McQuay e185365e2d moved MapLock to control 2014-03-31 23:21:19 -07:00
Stephen McQuay e02d220026 Fixed gob issue 2014-03-31 23:21:19 -07:00
Stephen McQuay 2fd97a7092 Removed extra variables 2014-03-31 23:21:18 -07:00
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.
2014-03-31 23:21:18 -07:00
Stephen McQuay 330e72c21f Fixed unittests 2014-03-31 23:21:18 -07:00
Stephen McQuay 81beee8b43 Put delete of game from controller in right place
Added some debugging
2014-03-31 23:21:16 -07:00
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
2014-03-31 23:21:14 -07:00
Stephen McQuay 62222a9ad9 Removed a development json file 2014-03-18 22:34:21 -07:00