Commit Graph

212 Commits

Author SHA1 Message Date
50868809bd revert me: default to allowing connecting players to start games 2013-11-14 00:18:46 -08:00
2cbef76a37 cap healing health 2013-11-14 00:16:08 -08:00
527042daa8 added logging for inability to kill 2013-11-14 00:02:26 -08:00
2e774285ba quieted things down slightly (logging) 2013-11-13 23:47:42 -08:00
245c483f9e added simple game stats 2013-11-13 23:45:02 -08:00
84ed6c9c32 added gameover packet 2013-11-13 22:24:54 -08:00
aabda1cc90 added config file support 2013-11-13 20:38:57 -08:00
Fraser Graham
c7d5e4be87 support setting heading in instructions 2013-11-11 21:36:11 -08:00
Fraser Graham
3f40fe4603 put point limit back to normal 2013-11-11 20:31:46 -08:00
674cda293f renamed function to match go convention 2013-11-09 22:05:37 -08:00
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
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
9de2b51f46 fixed naming 2013-11-08 22:59:56 -08:00
Fraser Graham
34f5d6876d Merge branch 'multibot'
Conflicts:
	game.go
2013-11-08 22:31:33 -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
caed5576f8 doh! I was right. 2013-11-08 20:04:09 -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
c9ba660e7f added server info for the / route 2013-11-07 22:11:54 -08:00
caea45741f Added ability to configure game at creation time 2013-11-07 22:11:54 -08:00
Fraser Graham
164c37e7d6 player messages 2013-11-07 22:10:18 -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
cfd3d91942 filter projectiles and objects by scanners 2013-11-06 22:21:18 -08:00
2707294bb6 Added flag to start with live http profiler 2013-11-06 22:14:54 -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
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
bad900997f add -timescale to command line to speed up or slow down time on server, try 0.1 - 2.0 range for fun 2013-11-06 20:10:22 -08:00
Fraser Graham
43b68f27f8 remove some unused data from payload 2013-11-06 20:09:45 -08:00
Fraser Graham
6ff9606367 objects generate entirely inside world 2013-11-06 19:58:16 -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
235fc1ce6f fixed projectile explosions pos 2013-10-28 07:54:49 -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
cc248dc2fe adding a listing of all bot id's and health to each payload 2013-10-24 06:26:54 -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