X-Git-Url: https://jxself.org/git/?p=super-star-trek.git;a=blobdiff_plain;f=src%2Freplay;fp=src%2Freplay;h=0000000000000000000000000000000000000000;hp=9e5c196eb1b45217bfae67dbe3bc013ac7984f99;hb=1dc3e2e56bd836aa1c9d45417222b4fed6d34c0e;hpb=16a5bbd86d12644c1a613e61e990f76b16a567f0 diff --git a/src/replay b/src/replay deleted file mode 100755 index 9e5c196..0000000 --- a/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