Format/typo check 2006/toledo3

This commit is contained in:
Cody Boone Ferguson committed 2023-11-24 13:06:27 -08:00
1 parent b358f3d053
commit 65e28cb5b6
1 file changed
+14 -2
+14 -2
View File
@@ -4,6 +4,11 @@
make
```
The author provided two alternate versions, one which adds a status bar and
another that makes it text only. The author also provided a version that they
tested with Windows. See [alternate code](#alternate-code) below.
## To use:
@@ -19,7 +24,7 @@ make
```
### Alternate versions:
### Alternate code:
The author provided two additional versions, [toledo3-sbar.c](toledo3-sbar.c)
and [toledo3-txt.c](toledo3-txt.c). Respectively these create a status bar and
@@ -27,6 +32,10 @@ make the game text only. These are built by default.
Use `toledo3-sbar` and `toledo3-txt` as you would `toledo3` above.
The author also provided a version that was [tested for some compilers in
Windows](layer.c). As we have no Windows system to test with you will have to
figure out how to compile it but it did work at one time in some set ups.
## Judges' remarks:
@@ -61,6 +70,7 @@ chess moves are allowed, except minor promotions on human side.
The game will continue up to its logical conclusion, you make
a mistake and the computer surpasses you. ;)
### WHAT ABOUT THE ENGINE
Uses an [alpha-beta](https://en.wikipedia.org/wiki/Alpha_Beta) search up to a
@@ -101,11 +111,12 @@ gcc -O3 -fexpensive-optimizations prog.c -o prog -lX11
4. It will not update the window while it is "thinking"
5. The space character has many useful applications, specially
5. The space character has many useful applications, especially
when it comes to the character limit (8).
6. I still don't understand what to do after semicolons. :P
### CHALLENGES
It is possible to convert this code into JavaScript with a
@@ -114,6 +125,7 @@ graphical interface. Can you do it?
Can the evaluation function be enhanced to make the program
play stronger?
### UPGRADES
Using [toledo3-sbar.c](toledo3-sbar.c) (which is too large for this IOCCC size