Files
ioccc/1994/dodsond1
Landon Curt Noll 96e0f2b966 move some rules into 1337.mk
A number of rules have been moved from entry `Makefile`s into the
`1337.mk` include file to make it easier for these common rules to be
updated or modified globally (by modifying the `1337.mk` include file).

The entry level `Makefile`s are now similar in form to the
/Makefile.example](https://github.com/ioccc-src/mkiocccentry/blob/master/Makefile.example)
file from the other repo.

The following make rules were moved into the `1337.mk` include file:

- `make indent.c`
- `make install`
- `make diff_orig_prog`
- `make diff_prog_orig`
- `make diff_alt_prog`
- `make diff_prog_alt`

This simplifies the entry level `Makefile`s so that they mostly reflect
the specifics of the particular entry.

Mentioned in FAQ 4.2, that the make diff rules are in the `1337.mk` include file.

Fixed invalid TAB character in `faq.md`.

Removed `make clean` directives that removed `indent.c`.  This file is now
removed via `make indent_clean`, a clean rule that also removes `indent.c`.

Removed `make clobber` directives that removed sandwich,  This file is now
removed via `make indent_clobber`, a clean rule that also removes `sandwich`.

Added `make indent_clean` and `make indent_clobber` rules into the top level
`Makefile` and the year level `YYYY/Makefile`.

Performed `make quick_www` to accomplish the above and to test under macOS.
2024-08-21 23:42:28 -07:00
..
2022-09-18 23:37:49 -07:00
2023-07-06 21:49:38 -07:00
2024-08-21 23:42:28 -07:00

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.