Merge pull request #209 from xexyl/1992-vern

Fix 1992/vern/README.md
This commit is contained in:
Landon Curt Noll authored and GitHub committed 2023-03-29 13:50:28 -07:00
commit 473906ee1a
1 file changed
+14 -12
+14 -12
View File
@@ -12,11 +12,12 @@
make all make all
### To run ### To run:
./vern 3 # <-- default is 2 ./vern 3 # <-- default is 2
## Judges' comments ## Try:
You might start off by giving the following input: You might start off by giving the following input:
@@ -25,6 +26,8 @@
71 52 71 52
67 57 (this may take a while) 67 57 (this may take a while)
## Judges' comments:
The judges assume no responsibility for the obfuscated opening The judges assume no responsibility for the obfuscated opening
suggested above. :-) suggested above. :-)
@@ -40,7 +43,7 @@
NOTE: Because some mailers have problems with the original winning source, NOTE: Because some mailers have problems with the original winning source,
a slightly modified version with shorter lines has been provided. a slightly modified version with shorter lines has been provided.
## Author's comments ## Author's comments:
This program plays chess. You play the white pieces and the program This program plays chess. You play the white pieces and the program
the black pieces. Moves are entered as a two-digit number specifying the black pieces. Moves are entered as a two-digit number specifying
@@ -69,15 +72,13 @@
There are a few limitations on play: There are a few limitations on play:
o castling can only be done on the king's side; - castling can only be done on the king's side.
o prohibitions against castling out of or through check are - prohibitions against castling out of or through check are not enforced.
not enforced; - prohibitions against castling if the king or rook have moved are not enforced.
o prohibitions against castling if the king or rook have moved - pawns are always promoted to queens.
are not enforced; - en passant is not allowed.
o pawns are always promoted to queens; - the board-position-repeated-three-times and fifty-moves stalemates are not
o en passant is not allowed; recognized.
o the board-position-repeated-three-times and fifty-moves
stalemates are not recognized;
If you checkmate the computer it prints "Rats!" and exits. If your own If you checkmate the computer it prints "Rats!" and exits. If your own
checkmate is imminent it prints "Har har." but doesn't exit so it can checkmate is imminent it prints "Har har." but doesn't exit so it can
@@ -100,6 +101,7 @@
will find all mate-in-two's. will find all mate-in-two's.
### Obfuscation
This program is obfuscated in a number of ways. First, it abuses the This program is obfuscated in a number of ways. First, it abuses the
contest rule regarding ';', '{', and '}' in the source not counting contest rule regarding ';', '{', and '}' in the source not counting