From 65e28cb5b606ef0d2c5d4ed09bfee180d1c94db2 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Fri, 24 Nov 2023 13:06:27 -0800 Subject: [PATCH] Format/typo check 2006/toledo3 --- 2006/toledo3/README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/2006/toledo3/README.md b/2006/toledo3/README.md index 246454bb0..0b8914b5c 100644 --- a/2006/toledo3/README.md +++ b/2006/toledo3/README.md @@ -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