From ed40cc367fd2bdecd79882785e838237acc7bad8 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Thu, 29 Aug 2024 13:13:57 -0700 Subject: [PATCH] Format fixes in 2005/toledo/index.html --- 2005/toledo/README.md | 9 +++++++-- 2005/toledo/index.html | 9 ++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/2005/toledo/README.md b/2005/toledo/README.md index 3f4eaaf9c..422d960e4 100644 --- a/2005/toledo/README.md +++ b/2005/toledo/README.md @@ -5,6 +5,10 @@ ``` +There are two alternate versions provided by the author. See [Alternate +code](#alternate-code) below. + + ## To use: ``` @@ -23,7 +27,8 @@ ## Alternate code: Two alternate versions of this entry, [toledo2.c](%%REPO_URL%%/2005/toledo/toledo2.c) and -[toledo3.c](%%REPO_URL%%/2005/toledo/toledo3.c) are provided. +[toledo3.c](%%REPO_URL%%/2005/toledo/toledo3.c) were provided by the author. +Unfortunately, in 2024, it is not currently known what the differences are. ### Alternate build: @@ -50,7 +55,7 @@ by the rules of C and Chess within a single function! ### Historical note: When this entry was submitted the code was a recursive call to `main()` - that -was it. In 2023 due to problems with `clang` `main()` calls another function, +was it. In 2023 due to problems with `clang`, `main()` calls another function, `pain()`, which calls itself. But it might be said that the Chess is still a single function. diff --git a/2005/toledo/index.html b/2005/toledo/index.html index 85a7e4f51..d80e246e9 100644 --- a/2005/toledo/index.html +++ b/2005/toledo/index.html @@ -409,6 +409,8 @@ Location: MX - United Mexican States

To build:

    make
+

There are two alternate versions provided by the author. See Alternate +code below.

To use:

    ./toledo [a ...]

Try:

@@ -416,7 +418,8 @@ Location: MX - United Mexican States

Alternate code:

Two alternate versions of this entry, toledo2.c and -toledo3.c are provided.

+toledo3.c were provided by the author. +Unfortunately, in 2024, it is not currently known what the differences are.

Alternate build:

To compile the alternate versions:

    make alt
@@ -429,7 +432,7 @@ move analysis via recursion while it executes moves. All while playing by the rules of C and Chess within a single function!

Historical note:

When this entry was submitted the code was a recursive call to main() - that -was it. In 2023 due to problems with clang main() calls another function, +was it. In 2023 due to problems with clang, main() calls another function, pain(), which calls itself. But it might be said that the Chess is still a single function.

Author’s remarks:

@@ -534,7 +537,7 @@ and compiles faster… but I’m still not seeing the difference.
  • Makefile - entry Makefile
  • toledo.orig.c - original source code
  • toledo2.c - alternate source code
  • -
  • toledo3.c - alternate source code
  • +
  • toledo3.c - second alternate source code
  • Secondary files