From d590aca3bec77fcb655bdc82f1f324f07b2312ce Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Mon, 28 Jul 2014 17:22:00 +0000 Subject: [PATCH] Add TODO --- TODO.txt | 14 ++++++++++++++ ctanks.h | 2 +- run-tanks | 5 +++++ summary.awk | 2 +- 4 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 TODO.txt diff --git a/TODO.txt b/TODO.txt new file mode 100644 index 0000000..14ab0ed --- /dev/null +++ b/TODO.txt @@ -0,0 +1,14 @@ +BUGS +==== + +* Fix "random" bug +* Pull fuzzie tree + + +Requests +======== + +* Keep 12 hours of runs (720 runs) +* Merge devdsp fixes (https://github.com/devdsp/tanks/commits/master) +* Fix leaderboard +* Read sensors from "sensors" and not "sensor[0-9]" diff --git a/ctanks.h b/ctanks.h index e540d2d..4086176 100644 --- a/ctanks.h +++ b/ctanks.h @@ -12,7 +12,7 @@ #define TANK_CANNON_RECHARGE 20 /* Turns to recharge cannon */ #define TANK_CANNON_RANGE (TANK_SENSOR_RANGE / 2) #define TANK_MAX_ACCEL 35 -#define TANK_MAX_TURRET_ROT (TAU/20) +#define TANK_MAX_TURRET_ROT (TAU/8) #define TANK_TOP_SPEED 7 /* (tank radius + tank radius)^2 */ diff --git a/run-tanks b/run-tanks index 854aec9..3cabab8 100755 --- a/run-tanks +++ b/run-tanks @@ -24,6 +24,11 @@ expr $next + 1 > next-round fn=$(printf "round-%04d.html" $next) rfn=results$$.txt +# Clean up old games +ofn=$(printf "round-%04d.html" $(expr $next - 20)) +echo "Removing $ofn" +rm -f $ofn + echo -n "Running round $next... " cat <$fn diff --git a/summary.awk b/summary.awk index fadcc3d..bb16356 100755 --- a/summary.awk +++ b/summary.awk @@ -75,7 +75,7 @@ BEGIN { print "

Rounds

"; print " ";