Format/typo check 2006/toledo3
This commit is contained in:
1 parent
b358f3d053
commit
65e28cb5b6
1 file changed
+14
-2
+14
-2
@@ -4,6 +4,11 @@
|
|||||||
make
|
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:
|
## To use:
|
||||||
|
|
||||||
@@ -19,7 +24,7 @@ make
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Alternate versions:
|
### Alternate code:
|
||||||
|
|
||||||
The author provided two additional versions, [toledo3-sbar.c](toledo3-sbar.c)
|
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
|
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.
|
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:
|
## 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
|
The game will continue up to its logical conclusion, you make
|
||||||
a mistake and the computer surpasses you. ;)
|
a mistake and the computer surpasses you. ;)
|
||||||
|
|
||||||
|
|
||||||
### WHAT ABOUT THE ENGINE
|
### WHAT ABOUT THE ENGINE
|
||||||
|
|
||||||
Uses an [alpha-beta](https://en.wikipedia.org/wiki/Alpha_Beta) search up to a
|
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"
|
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).
|
when it comes to the character limit (8).
|
||||||
|
|
||||||
6. I still don't understand what to do after semicolons. :P
|
6. I still don't understand what to do after semicolons. :P
|
||||||
|
|
||||||
|
|
||||||
### CHALLENGES
|
### CHALLENGES
|
||||||
|
|
||||||
It is possible to convert this code into JavaScript with a
|
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
|
Can the evaluation function be enhanced to make the program
|
||||||
play stronger?
|
play stronger?
|
||||||
|
|
||||||
|
|
||||||
### UPGRADES
|
### UPGRADES
|
||||||
|
|
||||||
Using [toledo3-sbar.c](toledo3-sbar.c) (which is too large for this IOCCC size
|
Using [toledo3-sbar.c](toledo3-sbar.c) (which is too large for this IOCCC size
|
||||||
|
|||||||
Reference in new issue
Block a user