72d0843ff8
Renamed package/directory
2014-04-23 14:28:13 -07:00
faacfe7fd9
First pass at documentations.
2014-04-14 00:26:41 -07:00
e02d220026
Fixed gob issue
2014-03-31 23:21:19 -07:00
2fd97a7092
Removed extra variables
2014-03-31 23:21:18 -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
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.
2014-03-09 21:53:55 -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
0bc1575f81
fixed bug in last commit
2014-02-17 01:06:53 -08:00
5d9103f176
Pulled out common code from spectator and player
2014-02-17 00:42:52 -08:00
b131b4bc53
Count bytes coming in/out of player
2014-02-17 00:10:55 -08:00
ad9d6c1026
Switched to using json.Encoder and Decoder
2014-02-04 08:06:12 -08:00
bc58ee9165
solved spectator disconnect issue
2014-01-29 22:12:26 -08:00
c6c45ace51
cleaned up some logging
2014-01-23 21:09:27 -08:00
Fraser Graham
3fa53daadb
rewrite of the stats system
2014-01-16 00:02:59 -08:00
Fraser Graham
33aea792ed
allow probes while repairing and scanning
2013-11-27 20:33:57 -08:00
Fraser Graham
ffbd656bc7
stop firing
2013-11-27 08:55:51 -08:00
Fraser Graham
ae9d09596c
prevent flipping between scan and repair for infinite awesomeness
2013-11-17 08:21:13 -08:00
84ed6c9c32
added gameover packet
2013-11-13 22:24:54 -08:00
Fraser Graham
c7d5e4be87
support setting heading in instructions
2013-11-11 21:36:11 -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
49ff6af1f3
minor cleanup
...
- removed comment-disabled code
- reduced verbosity in protocol logging
2013-11-07 22:11:54 -08:00
b490cfc228
made it so bots start inside world
2013-11-07 22:11:54 -08:00
Fraser Graham
1b42a19393
active scanning
2013-11-07 21:34:54 -08:00
Fraser Graham
3d0eb16f91
game params
2013-11-07 21:00:15 -08:00
Fraser Graham
b01654ec76
minor tweak to projectile scanning
2013-11-07 21:00:15 -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
855b8518b8
weapon stats are now set via robot
2013-11-06 21:07:31 -08:00
Fraser Graham
dfb3dba4f4
proper player collision and direct hit capability
2013-11-06 20:47:40 -08:00
Fraser Graham
545b68d1d7
projectiles should have their own ID
2013-11-06 20:32:56 -08:00
Fraser Graham
43b68f27f8
remove some unused data from payload
2013-11-06 20:09:45 -08:00
Fraser Graham
c8913c563e
I may have fixed some collision issues (badly)
2013-11-05 23:21:41 -08:00
Fraser Graham
1498414357
tweaks in support of better rendering
2013-10-28 23:35:00 -07:00
Fraser Graham
a4b539e79d
accurate collition positioning
2013-10-28 21:52:06 -07:00
Fraser Graham
5c77e373c3
scanners for projectiles
2013-10-25 22:51:41 -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
Fraser Graham
71f7a262ba
enabled player collisions
2013-10-21 09:28:50 -07:00
Fraser Graham
c910902d38
collision work
2013-10-21 07:49:56 -07:00
Fraser Graham
200afffa7f
moved a bunch of logic out of run and into functions of the game, for a cleaner separation of functionality.
...
Also, removed a bunch of overly verbose logging
2013-10-20 21:15:23 -07:00
Fraser Graham
fd13cb318a
removed unecessary data from payload sent to the client and filter outgoing robot list by scanner contents for each player until they die
2013-10-19 17:29:40 -07:00
Fraser Graham
f9b18eb253
Convert to 32-bit to save space in the serialization
2013-10-19 00:00:51 -07:00