2 # Replay the last SST game. With arg, use only that many lines of the log
4 # Because the replay log captures the random-number seed,
5 # repeating this any number of times should produce identical games,
6 # unless the code changes.
10 head -n `expr $1 + 2` </usr/tmp/sst-input.log >replay.log
12 mv /usr/tmp/sst-input.log replay.log
14 python sst.py -t -r replay.log