X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=c-version%2Fsrc%2Freplay;fp=c-version%2Fsrc%2Freplay;h=0000000000000000000000000000000000000000;hp=9e5c196eb1b45217bfae67dbe3bc013ac7984f99;hb=5d386eeefb0288ed4037555ae41cd423f4a8d3dc;hpb=eb1a46f740c64b52a9eea0a08959d46e41189510 diff --git a/c-version/src/replay b/c-version/src/replay deleted file mode 100755 index 9e5c196..0000000 --- a/c-version/src/replay +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh -# Replay the last SST game. With arg, use only that many lines of the log -# -# Because the replay log captures the random-number seed, -# repeating this any number of times should produce identical games, -# unless the code changes. -# -if [ $1 ] -then - head -n `expr $1 + 2` replay.log -else - mv /usr/tmp/sst-input.log replay.log -fi -python sst.py -t -r replay.log