Commit Graph

63 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
Fraser Graham ef33a17b6a Remove special case wall collisions, replace with generated objects 2016-07-13 12:16:10 -06: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
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 8f7ef5aa1a float32 -> float64 2014-04-26 15:36:04 -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
Fraser Graham ab3586e5aa Fixing the robot through building bug 2014-04-26 13:26:33 -06: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 a956162205 Plumbed Delta and the IdGenerator back through 2014-03-31 23:21:20 -07:00
Stephen McQuay e02d220026 Fixed gob issue 2014-03-31 23:21:19 -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 eac39ad9d1 Changed the collision response from boolean to Collision 2014-01-27 20:35:56 -08:00
Stephen McQuay 7bb5ae59b3 send the client calculated values for stats 2014-01-23 21:11:13 -08:00
Stephen McQuay 714ea669d2 added probe result type 2014-01-16 23:04:49 -08:00
Stephen McQuay 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 9583de2ffa game types, deathmatch and melee 2014-01-15 21:41:40 -08:00
Fraser Graham 33aea792ed allow probes while repairing and scanning 2013-11-27 20:33:57 -08:00
Fraser Graham 83f5d51bc4 min damage from collisions 2013-11-27 08:39:36 -08:00
Fraser Graham f6c8399699 changes to collision response and player to player collision 2013-11-26 22:35:09 -08:00
Fraser Graham 34b8ec045f start using new poly intersection against buildings 2013-11-26 21:41:21 -08:00
Fraser Graham b702afeb3a renaming rect to AABB 2013-11-24 14:26:40 -08:00
Fraser Graham 58c084c7ab bandwidth reduction, filtering explosions and sending objects as [4]int 2013-11-16 23:13:03 -08:00
Stephen McQuay 2cbef76a37 cap healing health 2013-11-14 00:16:08 -08:00
Stephen McQuay 2e774285ba quieted things down slightly (logging) 2013-11-13 23:47:42 -08:00
Fraser Graham c7d5e4be87 support setting heading in instructions 2013-11-11 21:36:11 -08:00
Stephen McQuay da26e1ca46 simplified some loops
These changes were done by running the following command:

    gofmt -s -w *.go
2013-11-09 21:52:06 -08:00
Stephen McQuay bc2d1cdd52 minor tweaks, including go fmt 2013-11-09 21:46:49 -08:00
Fraser Graham d3c08a7953 move robot code into robot file 2013-11-09 19:52:40 -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
Fraser Graham 1b42a19393 active scanning 2013-11-07 21:34:54 -08:00
Fraser Graham eabc1ebb41 probe result 2013-11-07 08:41:39 -08:00
Fraser Graham 829ba83f41 probes!!!! (not anal) 2013-11-06 23:26:29 -08:00
Fraser Graham d2ae3c11d8 alert the robot if it's been hit 2013-11-06 23:06:51 -08:00
Fraser Graham 082b737805 first pass at repair mode 2013-11-06 22:50:59 -08:00
Fraser Graham e562e2fefb players can now set target speed in bot code 2013-11-06 21:24:10 -08:00
Fraser Graham cd9bb45ddc sort the all bots list 2013-11-06 21:12:19 -08:00
Fraser Graham 855b8518b8 weapon stats are now set via robot 2013-11-06 21:07:31 -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