Format fixes in 1992/vern/README.md

This commit is contained in:
Cody Boone Ferguson committed 2023-04-09 10:37:16 -07:00
1 parent 80f357bb22
commit 6cb76a5b78
1 file changed
+14 -5
+14 -5
View File
@@ -10,21 +10,27 @@
## To build: ## To build:
```sh
make all make all
```
## To run: ## To run:
```sh
./vern 3 # <-- default is 2 ./vern 3 # <-- default is 2
```
## Try: ## Try:
You might start off by giving the following input: You might start off by giving the following input:
```
63 43 63 43
76 55 76 55
71 52 71 52
67 57 (this may take a while) 67 57 # (this may take a while)
```
## Judges' comments: ## Judges' comments:
@@ -33,11 +39,14 @@ suggested above. :-)
For a real quick game try: For a real quick game try:
```sh
./vern ./vern
65 55 65 55
66 46 66 46
```
NOTE: Move values must be restricted to the range 00 to 77. NOTE: Move values must be restricted to the range 00 to 77.
NOTE: Because some mailers have problems with the original winning source, NOTE: Because some mailers have problems with the original winning source,
@@ -49,10 +58,10 @@ 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
the coordinates of the piece to be moved followed by another two-digit the coordinates of the piece to be moved followed by another two-digit
number specifying the coordinates of where to move it. Rows and number specifying the coordinates of where to move it. Rows and
columns are numbered starting with (0,0) for the upper-lefthand corner columns are numbered starting with (0,0) for the upper-left-hand corner
(black's queen's rook) and going to (7,7) for the lower-righthand (black's queen's rook) and going to (7,7) for the lower-right-hand
corner (white's king's rook). For example, the PK4 opening for white corner (white's king's rook). For example, the PK4 opening for white
is indicated as "64 44". Moves are read using scanf() so care should is indicated as "64 44". Moves are read using `scanf()` so care should
be taken to not enter the wrong number of fields. be taken to not enter the wrong number of fields.
If the move you enter is illegal then you are just prompted again to If the move you enter is illegal then you are just prompted again to
@@ -101,7 +110,7 @@ blunders but also immediately stupid moves altogether. A ply of 4
will find all mate-in-two's. will find all mate-in-two's.
### Obfuscation ### 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