From 9e7ff2ccdaf30d7a451ecfca5ddba1166b2d69c5 Mon Sep 17 00:00:00 2001
From: Landon Curt Noll
Date: Sun, 21 Apr 2024 01:19:51 -0700
Subject: [PATCH] replace name attributes in 2020/ferguson1/README.md with
spans
---
2020/ferguson1/README.md | 52 ++++++++++++++++++++++++++++-----------
2020/ferguson1/index.html | 49 ++++++++++++++++++++++++++----------
2 files changed, 74 insertions(+), 27 deletions(-)
diff --git a/2020/ferguson1/README.md b/2020/ferguson1/README.md
index 7c21e47db..67876c773 100644
--- a/2020/ferguson1/README.md
+++ b/2020/ferguson1/README.md
@@ -231,8 +231,7 @@ important one, chocolate cake. Most important for the cake as the formatting is
very important.
-
-
+
* ['Bugs'](#bugs)
* [NAQs/IAQs (Never/Infrequently Asked Questions)](#naqs)
- [Do I have any inspirations for this entry?](#inspirations)
@@ -247,9 +246,12 @@ very important.
* [Winning thoughts, dedications and thanks](#winning)
+
-### 'Bugs'
+
+### 'Bugs'
+
* 'The screen keeps showing bugs!' Well yes, that's rather the point! Help out
by eating them. Keep eating them until you win! Then you will have the
@@ -271,9 +273,13 @@ very important.
On a more serious note look at [bugs.html](bugs.html).
-### NAQs/IAQs (Never/Infrequently Asked Questions)
+
-#### Do I have any inspirations for this entry?
+
There are two in particular. First is a long time mate of mine wrote a bash
implementation of Snake several years ago (uncoloured, no cheat modes, hardcoded
@@ -308,7 +314,9 @@ inspired the shedding mode. Anyway I always loved the game and it's similar to
Snake in several ways.
-#### Are there any features I thought of that I wanted to implement but did not get to for some reason or another?
+
Yes. I thought it would be fun if there were other obstacles for the snake (in
my mind I was thinking of barriers like the walls but in the field).
@@ -332,7 +340,9 @@ Nevertheless I am quite happy with the features in the game and I hope everyone
who plays it enjoys it as much as I enjoyed writing/playing it.
-#### Are there ways that one can make this game easier?
+
I can think of at the least the following:
@@ -368,7 +378,9 @@ I can think of at the least the following:
default; does that mean it's not actually a cheat mode?).
-#### Are there ways to make it harder?
+
- Decrease the size of the game.
- Decrease the size of the snake growth (and initial snake size).
@@ -416,7 +428,9 @@ Either way I tip my proverbial snakeskin hat to you (animal cruelty but a pun is
a pun and every pun deserves to be shed).
-#### How do snakes grow in real life?
+
They grow through a process called moulting - shedding their skin (other
creatures also moult). This takes place over some days and unlike humans snakes
@@ -425,7 +439,9 @@ variables **SHED** and **SHEDS** for simplicity and because the words are
shorter. I don't like the words because it's rather a misnomer but what I had
chosen before was longer - STRETCH and STRETCHES.
-#### Any other interesting things about snakes?
+
For the fascinating science behind snake slithering see [Snake walk: The physics
of slithering][]. For the bizarre thought of snake human hybrids see [human
@@ -434,7 +450,9 @@ in there too because I believe that people actually believe in this (how/why I
do not know) and they really do tell the truth as they see it (even if
impossible).
-#### Why can you go the opposite direction and so immediately die when not cannibalising?
+
When Ilya Kurdyukov was playing with this he questioned why this is possible
when other implementations don't have it this way. There are a few reasons.
@@ -457,7 +475,9 @@ But if you have a problem with it you can always enable cannibalism and keep
walls passable and not worry about dying.
-#### Do you have any **DELICIOUS CHOCOLATE CAKE** recipes?
+
Why yes I do! So good in fact that even my late stepmum who didn't even like
chocolate (except white chocolate) loved this cake. It's a double-layered
@@ -489,7 +509,9 @@ been warned.
-#### What are the files prog.2.c, prog.3.c, prog.3-j.c and prog.alt.c ?
+
I submitted three Snake versions; these are the other layouts for those few
(more likely none) who are interested to see them.
@@ -509,7 +531,9 @@ both do.
## Author's dedication:
-### Winning thoughts, dedications and thanks
+
Once again I'm honoured to win along with some of the other veterans who I have
a huge amount of respect for; there's [Don Yang](../../authors.html#Don_Yang), [Dave
diff --git a/2020/ferguson1/index.html b/2020/ferguson1/index.html
index ee3f4744a..5189c9cd0 100644
--- a/2020/ferguson1/index.html
+++ b/2020/ferguson1/index.html
@@ -330,7 +330,7 @@ unless on GitHub in which case I recommend the markdown files; this particularly
goes for the gameplay, bugs, terminals, troubleshooting ones along with the most
important one, chocolate cake. Most important for the cake as the formatting is
very important.
-There are two in particular. First is a long time mate of mine wrote a bash
implementation of Snake several years ago (uncoloured, no cheat modes, hardcoded
dimensions etc. - in fact everything was hardcoded).
@@ -394,7 +399,9 @@ it was done in Sur
In Surround each move you made you would grow in size by one. This is what
inspired the shedding mode. Anyway I always loved the game and it’s similar to
Snake in several ways.
-
+
Yes. I thought it would be fun if there were other obstacles for the snake (in
my mind I was thinking of barriers like the walls but in the field).
I also thought it would be fun to have more than one bug at some point after say
@@ -411,7 +418,9 @@ character set and I didn’t see any diagonal arrows. I suppose I could have it
not show the arrows but then that brings an old problem back.
Nevertheless I am quite happy with the features in the game and I hope everyone
who plays it enjoys it as much as I enjoyed writing/playing it.
-
+
I can think of at the least the following:
- Bigger screen will allow for freer movement (at least for more time?).
@@ -445,7 +454,9 @@ different combinations than I have given.
considered a filthy cheat but both modes are quite fun (one being enabled by
default; does that mean it’s not actually a cheat mode?).
-
+
- Decrease the size of the game.
- Decrease the size of the snake growth (and initial snake size).
@@ -491,21 +502,27 @@ chocolate cake, play Snake, sleep, … For a great recipe see below.
you make use of your talents for financial gain or at least a world record.
Either way I tip my proverbial snakeskin hat to you (animal cruelty but a pun is
a pun and every pun deserves to be shed).
-
+
They grow through a process called moulting - shedding their skin (other
creatures also moult). This takes place over some days and unlike humans snakes
never stop growing (though growth slows down as they mature). I chose the
variables SHED and SHEDS for simplicity and because the words are
shorter. I don’t like the words because it’s rather a misnomer but what I had
chosen before was longer - STRETCH and STRETCHES.
-
+
For the fascinating science behind snake slithering see Snake walk: The physics
of slithering. For the bizarre thought of snake human hybrids see human
snakes. The latter is hard to comprehend and there are some sad tails (tales)
in there too because I believe that people actually believe in this (how/why I
do not know) and they really do tell the truth as they see it (even if
impossible).
-
+
When Ilya Kurdyukov was playing with this he questioned why this is possible
when other implementations don’t have it this way. There are a few reasons.
First is that the friend’s implementation had it that way and it had been a long
@@ -519,7 +536,9 @@ for itself but in the game it is and I went all the way instead of only halfway.
It also would take more bytes and that’s a problem with IOCCC rule 2b.
But if you have a problem with it you can always enable cannibalism and keep
walls passable and not worry about dying.
-
+
Why yes I do! So good in fact that even my late stepmum who didn’t even like
chocolate (except white chocolate) loved this cake. It’s a double-layered
chocolate fudge cake. See the file chocolate-cake.html
@@ -544,7 +563,9 @@ out bad! Many people have made this mistake ‘because they know better’. You
been warned.
- Pay attention to the rest of the notes as well! They’re crucial.
-
+
I submitted three Snake versions; these are the other layouts for those few
(more likely none) who are interested to see them.
The prog.2.c has more digraphs but I think no other significant differences.
@@ -558,7 +579,9 @@ it’s used in both