Minor fixes to 2020/ferguson1/README.md & snake.1

Yes well what can I say? I looked at the files by chance and saw a few
things that were not clear and needed to be corrected. Call me a snake
if you must! :-)
This commit is contained in:
Cody Boone Ferguson committed 2023-04-26 07:50:06 -07:00
1 parent af426c6bc9
commit ed8eb093ec
2 files changed
+9 -8

No files matched your search

+8 -7
View File
@@ -32,7 +32,7 @@ and non-zero).
* **`WALLS`** * **`WALLS`**
whether the walls are passable or impassable. Default passable, whether the walls are passable or impassable. Default passable,
1; 0 disables. 1; 0 makes walls impassable where you die if you hit a wall.
* **`EVADE`** * **`EVADE`**
how many movements the Snake moves before the bug (well how many movements the Snake moves before the bug (well
@@ -42,7 +42,7 @@ and non-zero).
* **`SIZE`** * **`SIZE`**
initial size of the Snake. Note that it grows by one per initial size of the Snake. Note that it grows by one per
move so at the default 5 it will not initially be 5 move so at the default 5 it will not initially be 5
characters long! < 0 is an immediate win. characters long! < 0 is likely an immediate win.
* **`MAXSIZE`** * **`MAXSIZE`**
the maximum size the Snake can become before the game is the maximum size the Snake can become before the game is
@@ -77,7 +77,7 @@ and non-zero).
* **`CANNIBAL`** * **`CANNIBAL`**
whether you can go through the Snake or not. Default is 0 whether you can go through the Snake or not. Default is 0
(cannot). (cannot - die if you try).
@@ -114,7 +114,7 @@ There is a good deal of useful documentation that is provided with this entry:
* [gameplay.html][] ([gameplay.md][] on GitHub) * [gameplay.html][] ([gameplay.md][] on GitHub)
Documented game *features*! Documented game *features* and gameplay modes!
* [terminals.html][] ([terminals.md][] on GitHub) * [terminals.html][] ([terminals.md][] on GitHub)
@@ -159,16 +159,17 @@ Here are some other features of the game:
section (this goes for a low **`EVADE`** value too). section (this goes for a low **`EVADE`** value too).
* Grow-Shrink mode (Positive and Negative Winning) mode (see * Grow-Shrink mode (Positive and Negative Winning) mode (see
[gameplay.html][]/[gameplay.md][] for more details). [gameplay.html][] ([gameplay.md][] on GitHub) for more details).
* The dimensions of the game (this is actually a terminal thing but I document * The dimensions of the game (this is actually a terminal thing but I document
how to do this and its potential pitfalls) (**`LINES`** , **`COLUMNS`**). how to do this and its potential pitfalls) (**`LINES`** , **`COLUMNS`**).
There are no complicated command line invocations; it's just a matter of passing There are no complicated command line invocations; it's just a matter of passing
into the game descriptively named variables and I include a script that sets up into the game descriptively named variables and I include a script that sets up
many different gameplay modes (see [gameplay.html][]/[gameplay.md][] and [play.sh][]). many different gameplay modes (see [gameplay.html][] ([gameplay.md][] on GitHub)
and [play.sh][]).
The [gameplay.html][]/[gameplay.md][] file has all the information on The [gameplay.html][] ([gameplay.md][] on GitHub) file has all the information on
what the game looks like, how to play, the different types of modes (that I have what the game looks like, how to play, the different types of modes (that I have
thought of so far) including all those in the above list. Along with the thought of so far) including all those in the above list. Along with the
[play.sh][] and [snake-colours.sh][] scripts it's probably the most important [play.sh][] and [snake-colours.sh][] scripts it's probably the most important
+1 -1
View File
@@ -62,7 +62,7 @@ Default 231; you can move faster by holding down or rapidly pressing an arrow ke
.TQ .TQ
.B WALLS .B WALLS
whether the walls are passable or impassable. whether the walls are passable or impassable.
Default 1, passable; 0 means impassable. Default 1, passable; 0 means impassable and you will die if you hit a wall.
.TQ .TQ
.B EVADE .B EVADE
how many movements the Snake makes before the bug (well insect) will move to another location in the field. how many movements the Snake makes before the bug (well insect) will move to another location in the field.