While not strictly necessary, replacing the two ASCII tab characters in the markdown copyright comment makes it easier to detect problematic TAB indentation within markdown files. After this commit, only 90 markdown files have leading ASCII TAB characters. And again, while not strictly necessary, we can consider running expand on those 90 markdown files to see what effect that might have on the HTML files they produce. Replace leading ASCII TAB characters with multiples of 8 ASCII SPACE characters (the default action of the `expand(1)` tool) might have an negative effect on some HTML formatting where **hack-a-round** formatting was attempted to fix broken indentation caused by problematic ASCII TAB characters. Think of this as a baseline for evaluating leading TAB characters within markdown files. TODO: Consider either using `expand(1)` to replace leading ASCII TAB characters with multiples of 8 ASCII SPACE characters AND/OR modifying the appropriate `bin` tool to convert leading ASCII TAB characters into multiples of 8 ASCII SPACE characters.
To build:
make all
To use:
./dodsond1
Try:
At the prompt, try entering E3.
Judges' remarks:
The program plays the game that the layout of the source implies. The source, on the other hand, implies a language along the lines of Lisp. :-)
Author's remarks:
For each turn, the board is displayed and the player is prompted for a move. Enter your move as an upper-case character followed by a number.
The program uses a single function for 4 different purposes -- to determine if a valid move exists, to verify that a move is valid, to make a move, and to determine the value of a move.