Fix in 1991/westley/ttt.sh
Don't assume '.' is in the path. I note that at least under macOS this game does not work. I'll be looking at the entries of this year at another time. I just need this commit in to make some other changes unrelated. The README.md was also updated - formatting fixes to turn it into a markdown file proper.
This commit is contained in:
1 parent
892b94c5a6
commit
dbbdedd30b
2 files changed
+8
-8
No files matched your search
@@ -11,19 +11,19 @@
|
||||
|
||||
### To run
|
||||
|
||||
Make and run as follows:
|
||||
Make and run as follows:
|
||||
|
||||
./westley [move_location] | tee nextmove.c
|
||||
|
||||
where the 'move_location' is a digit from 1 to 9 that represents
|
||||
a move on a tic-tac-toe board:
|
||||
where the 'move_location' is a digit from 1 to 9 that represents
|
||||
a move on a tic-tac-toe board:
|
||||
|
||||
1 2 3
|
||||
4 5 6
|
||||
7 8 9
|
||||
|
||||
If you omit 'move_location', then the computer moves first. For your
|
||||
next move, recompile nextmove.c and play it again:
|
||||
If you omit 'move_location', then the computer moves first. For your
|
||||
next move, recompile `nextmove.c` and play it again:
|
||||
|
||||
make nextmove
|
||||
./nextmove move_location | tee nextmove.c
|
||||
|
||||
Reference in new issue
Block a user