Commit Graph

141 Commits

Author SHA1 Message Date
Stephen McQuay 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
Stephen McQuay 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
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 776a7eee98 split splosions and projectiles into separate files 2013-10-20 20:54:19 -07:00
Fraser Graham 541e213c66 adding a sample JSON packet for reference 2013-10-19 21:05:38 -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
Stephen McQuay c074397c1f bugfix for incorrect logic in game creation 2013-10-18 23:56:06 -07:00
Fraser Graham c80acb478b All sorts of fun stuff...
- stats are now based on a 1-100 ranged and mapped to sensibles
- turnspeed and fire rate are available stats
- bugs in movement are squished
2013-10-18 23:22:35 -07:00
Stephen McQuay d19b3f71fa added ability to autovivify games in debug mode 2013-10-18 20:49:57 -07:00
Fraser Graham 2edc7c61af fixing bug where heading can be 0 2013-10-18 20:40:09 -07:00
Fraser Graham e02c5f89fb make projectiles arrive at their destination regardless of tick time 2013-10-18 20:39:53 -07:00
Stephen McQuay f4e2e84676 added more logging to control requests 2013-10-14 00:17:12 -07:00
Stephen McQuay 158c7d90d8 fixed tick bombs 2013-10-01 21:37:53 -07:00
Stephen McQuay e06f70aed6 go fmt 2013-09-28 23:03:42 -07:00
Stephen McQuay bd4cb39828 added profiling flag and kill channel 2013-09-28 23:00:29 -07:00
Stephen McQuay 83da3961cd infinite melee!! 2013-09-28 13:19:44 -07:00
Stephen McQuay 56c965add7 some clean up
Mainly adding some comments, and some function renaming
2013-09-28 12:59:17 -07:00
Stephen McQuay c5bddcdc31 renamed the file housing the http control protocol, removed defunct test 2013-09-28 12:53:18 -07:00
Stephen McQuay 2a2f4f6f96 moved all negociation code into a single function 2013-09-28 12:37:23 -07:00
Stephen McQuay b142845b5c moved move out of vector lib 2013-09-28 09:44:47 -07:00
Stephen McQuay e33f2c0c4f moved code out of awkward bots repo 2013-09-27 22:27:05 -07:00
Fraser Graham 92a2040d70 Adding collisions and acceleration. Fixing splosions and projectiles. 2013-09-27 01:30:26 -07:00