mirror of https://github.com/dirtbags/tanks.git
Add TODO
This commit is contained in:
parent
85c1c07695
commit
d590aca3be
|
@ -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]"
|
2
ctanks.h
2
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 */
|
||||
|
|
|
@ -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 <<EOF >$fn
|
||||
|
|
|
@ -75,7 +75,7 @@ BEGIN {
|
|||
print " <h2>Rounds</h2>";
|
||||
print " <ul>";
|
||||
getline rounds < "next-round";
|
||||
for (i = rounds - 1; i >= 0; i -= 1) {
|
||||
for (i = rounds - 1; i >= rounds - 21; i -= 1) {
|
||||
printf("<li><a href=\"round-%04d.html\">%04d</a></li>\n", i, i);
|
||||
}
|
||||
print " </ul>";
|
||||
|
|
Loading…
Reference in New Issue