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 " ";