Format/typo check 1987/lievaart/README.md
This commit is contained in:
1 parent
d88c00f339
commit
41c4dab260
1 file changed
+27
-17
+27
-17
@@ -9,8 +9,8 @@ Netherlands
|
||||
make all
|
||||
```
|
||||
|
||||
NOTE: The original entry may be built with "make alt" if you have an old enough
|
||||
compiler.
|
||||
There is [Alternate code](#alternate-code) available for if you have an old
|
||||
enough compiler.
|
||||
|
||||
## To run:
|
||||
|
||||
@@ -19,12 +19,6 @@ compiler.
|
||||
# enter a level and start playing as described below
|
||||
```
|
||||
|
||||
### INABIAF - it's not a bug it's a feature! :-)
|
||||
|
||||
If you enter invalid input the program will enter an infinite loop displaying a
|
||||
string like `"You:"` repeatedly (for instance if you input `.`). If you enter an
|
||||
incorrect value it will prompt you again until you input a proper value.
|
||||
|
||||
## Try:
|
||||
|
||||
To see what it would have looked like without the size restrictions:
|
||||
@@ -34,30 +28,46 @@ To see what it would have looked like without the size restrictions:
|
||||
# enter a level and start playing as described below
|
||||
```
|
||||
|
||||
## Alternate code:
|
||||
|
||||
If you have an old enough compiler you might wish to try using it. To use:
|
||||
|
||||
```sh
|
||||
make alt
|
||||
```
|
||||
|
||||
Use `./lievaart.alt` as you would `./lievaart` above.
|
||||
|
||||
### INABIAF - it's not a bug it's a feature! :-)
|
||||
|
||||
If you enter invalid input the program will enter an infinite loop displaying a
|
||||
string like `"You:"` repeatedly (for instance if you input `.`). If you enter an
|
||||
incorrect value it will prompt you again until you input a proper value.
|
||||
|
||||
## Judges' remarks:
|
||||
|
||||
We believe that you too will be amazed at just how much power Mr. Lievaart
|
||||
packed into 1024 bytes!
|
||||
|
||||
This Plays the game of Reversi (Othello)! Compile and run. It then
|
||||
This Plays the game of [Reversi
|
||||
(Othello)](https://en.wikipedia.org/wiki/Reversi)! Compile and run. It then
|
||||
asks for a playing level. Enter 0-10 (easy-hard). It then asks for
|
||||
your move. A move is a number within 11-88, or a 99 to pass. Illegal
|
||||
your move. A move is a number within 11-88, or 99 to pass. Illegal
|
||||
moves (except for an illegal pass) are rejected. Then the computer
|
||||
does its move (or a 0 to pass), until the board is full.
|
||||
|
||||
It plays rather well, for such a small program! Lievaart had to leave out the
|
||||
It plays rather well, for such a small program! Lievaart had to leave out the
|
||||
board printing routine, so you'll have to take a real game board to play it (or
|
||||
see below). ... Also due to space-limitations (the rules for 1987 had a limit
|
||||
of 1024 byes), Lievaart took out the passing-handler, which makes its
|
||||
ending-game rather poor. But further it knows all the rules, uses alpha-beta
|
||||
pruning, and it plays f.i. on mobility(!). Most important: it can play a pretty
|
||||
good game of Reversi!
|
||||
ending-game rather poor. But further it knows all the rules, uses [alpha-beta
|
||||
pruning](https://en.wikipedia.org/wiki/Alpha-beta_pruning), and it plays for
|
||||
instance on mobility(!). Most important: it can play a pretty good game of Reversi!
|
||||
|
||||
The Author was kind enough to supply the fully functional version of the
|
||||
program. The file lievaart2.c contains what the program would have
|
||||
been without the size restriction. This version has the full end game
|
||||
logic and displays the board after each move!
|
||||
program. The file [lievaart2.c](lievaart2.c) contains what the program would
|
||||
have been without the size restriction. This version has the full end game
|
||||
logic and displays the board after each move! See above for how to use this.
|
||||
|
||||
|
||||
## Author's remarks:
|
||||
|
||||
Reference in new issue
Block a user