replace trailing whitespace with blackslash in README.md
As an alternative to the markdown trailing whitespace as a line break, we use a trailing blackslash as a markdown line break.
This commit is contained in:
1 parent
ddb78f6f33
commit
6625034139
263 files changed
+1181
-1181
No files matched your search
@@ -1,7 +1,7 @@
|
||||
# Most explosive
|
||||
|
||||
Yusuke Endoh
|
||||
<https://github.com/mame/>
|
||||
<https://github.com/mame/>\
|
||||
Mastodon: [@mame@ruby.social](https://ruby.social/@mame)
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Best perspective
|
||||
|
||||
Yusuke Endoh
|
||||
<https://github.com/mame/>
|
||||
Yusuke Endoh\
|
||||
<https://github.com/mame/>\
|
||||
Mastodon: [@mame@ruby.social](https://ruby.social/@mame)
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Most head-turning
|
||||
|
||||
Yusuke Endoh
|
||||
<https://github.com/mame/>
|
||||
Yusuke Endoh\
|
||||
<https://github.com/mame/>\
|
||||
Mastodon: [@mame@ruby.social](https://ruby.social/@mame)
|
||||
|
||||
## To build:
|
||||
|
||||
+14
-14
@@ -1,8 +1,8 @@
|
||||
# Don't tread on me award
|
||||
|
||||
Cody Boone Ferguson <ioccc@xexyl.net>
|
||||
<https://ioccc.xexyl.net>
|
||||
<https://xexyl.net>
|
||||
Cody Boone Ferguson <ioccc@xexyl.net>\
|
||||
<https://ioccc.xexyl.net>\
|
||||
<https://xexyl.net>\
|
||||
Mastodon: [@xexyl@fosstodon.org](https://fosstodon.org/@xexyl)
|
||||
|
||||
## To build:
|
||||
@@ -23,48 +23,48 @@ and non-zero).
|
||||
|
||||
### Variables:
|
||||
|
||||
* **`WAIT`**
|
||||
* **`WAIT`**\
|
||||
positive or negative integer that changes how long to wait for
|
||||
a key press prior to moving again. < 0 blocks which allows
|
||||
for complete control over movement at your own pace. Default
|
||||
231; you can move faster by holding down or rapidly pressing an
|
||||
arrow key.
|
||||
|
||||
* **`WALLS`**
|
||||
* **`WALLS`**\
|
||||
whether the walls are passable or impassable. Default passable,
|
||||
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
|
||||
insect; see notes below about why bugs) will move to
|
||||
another location in the field. Default 300; 0 disables.
|
||||
|
||||
* **`SIZE`**
|
||||
* **`SIZE`**\
|
||||
initial size of the Snake. Note that it grows by one per
|
||||
move so at the default 5 it will not initially be 5
|
||||
characters long! < 0 is likely an immediate win.
|
||||
|
||||
* **`MAXSIZE`**
|
||||
* **`MAXSIZE`**\
|
||||
the maximum size the Snake can become before the game is
|
||||
won. < 0 is the maximum size based on terminal dimensions;
|
||||
any other size will be capped based on the terminal
|
||||
dimensions to prevent problems. Note that when **`SIZE+GROW >=
|
||||
MAXSIZE`** you win _before_ you grow to the full size!
|
||||
|
||||
* **`GROW`**
|
||||
* **`GROW`**\
|
||||
size to grow every time you eat a bug. Default 5; negative
|
||||
values are allowed. 'Negativity' creates for fun gameplay modes with
|
||||
enough creativity. See [gameplay.html][] ([gameplay.md][] on
|
||||
GitHub) as well as [play.sh](play.sh) for some examples.
|
||||
|
||||
* **`SHED`**
|
||||
* **`SHED`**\
|
||||
every **`SHED`** movements you will grow (> 0), shrink (< 0) or
|
||||
stay the same length (0) by the **`SHEDS`** (below) value. Again
|
||||
with creativity you can create some fun gameplay modes. NOTE:
|
||||
the concept of shedding in this game is a misnomer; see notes
|
||||
below.
|
||||
|
||||
* **`SHEDS`**
|
||||
\
|
||||
* **`SHEDS`**\
|
||||
every **`SHED`** movements will impact what this value means: grow
|
||||
(> 0), shrink (< 0) or not at all (0). Exception: if the snake
|
||||
eats a bug the counter isn't incremented. Again with creativity
|
||||
@@ -75,7 +75,7 @@ and non-zero).
|
||||
NOTE: the concept of shedding in this game is a misnomer; see
|
||||
notes below.
|
||||
|
||||
* **`CANNIBAL`**
|
||||
* **`CANNIBAL`**\
|
||||
whether you can go through the Snake or not. Default is 0
|
||||
(cannot - die if you try).
|
||||
|
||||
@@ -154,7 +154,7 @@ Here are some other features of the game:
|
||||
|
||||
* A drawing/practising mode (**`WAIT`** < 0 makes `timeout()` block).
|
||||
|
||||
* Computer plays the game (**WAIT=0**).
|
||||
* Computer plays the game (**WAIT=0**).\
|
||||
- **EPILEPSY/STIMULATION OVERLOAD WARNING** included in the relevant
|
||||
section (this goes for a low **`EVADE`** value too).
|
||||
|
||||
|
||||
+33
-33
@@ -1,8 +1,8 @@
|
||||
# Most enigmatic
|
||||
|
||||
Cody Boone Ferguson <ioccc@xexyl.net>
|
||||
<https://ioccc.xexyl.net>
|
||||
<https://xexyl.net>
|
||||
Cody Boone Ferguson <ioccc@xexyl.net>\
|
||||
<https://ioccc.xexyl.net>\
|
||||
<https://xexyl.net>\
|
||||
Mastodon: [@xexyl@fosstodon.org](https://fosstodon.org/@xexyl)
|
||||
|
||||
|
||||
@@ -20,28 +20,28 @@ make
|
||||
# get recode help:
|
||||
./recode -h
|
||||
|
||||
# general syntax for recode passing to Enigma machine:
|
||||
./recode [options] | ./prog - 2>/dev/null
|
||||
# general syntax for recode without passing to Enigma machine:
|
||||
./recode [options]
|
||||
|
||||
# recode prompts for settings; pass to Enigma machine:
|
||||
# general syntax for recode passing to Enigma machine:\
|
||||
./recode [options] | ./prog - 2>/dev/null\
|
||||
# general syntax for recode without passing to Enigma machine:\
|
||||
./recode [options]\
|
||||
\
|
||||
# recode prompts for settings; pass to Enigma machine:\
|
||||
./recode | ./prog - 2>/dev/null
|
||||
|
||||
# recode reads from input file, prompts for settings; pass to Enigma machine:
|
||||
# recode reads from input file, prompts for settings; pass to Enigma machine:\
|
||||
./recode -finput | ./prog - 2>/dev/null
|
||||
|
||||
# recode reads config from string or file; pass to Enigma machine after
|
||||
# prompting for input:
|
||||
./recode -R<string|file> | ./prog - 2>/dev/null
|
||||
|
||||
# write config to output file; pass to Enigma machine after prompting for input:
|
||||
./recode -o<config> | ./prog - 2>/dev/null
|
||||
|
||||
# pseudo-randomly select settings
|
||||
# write config to output file; pass to Enigma machine after prompting for input:\
|
||||
./recode -o<config> | ./prog - 2>/dev/null\
|
||||
\
|
||||
# pseudo-randomly select settings\
|
||||
./recode -r
|
||||
|
||||
# show Enigma machine settings after selection / generation:
|
||||
\
|
||||
# show Enigma machine settings after selection / generation:\
|
||||
./recode -v
|
||||
|
||||
```
|
||||
@@ -51,19 +51,19 @@ make
|
||||
## Try:
|
||||
|
||||
```sh
|
||||
# IOCCC obfuscated!
|
||||
echo IOCCC | ./prog
|
||||
|
||||
# IOCCC obfuscated and de-obfuscated!:
|
||||
echo IOCCC | ./prog | ./prog
|
||||
|
||||
# more input fun:
|
||||
./prog - < try.this.txt 2>/dev/null
|
||||
|
||||
# more obfuscated fun:
|
||||
echo testing test tests | ./recode
|
||||
echo testing test tests | ./recode | ./prog - 2>/dev/null
|
||||
echo testing test tests | ./recode | ./prog - 2>/dev/null | ./recode
|
||||
# IOCCC obfuscated!\
|
||||
echo IOCCC | ./prog\
|
||||
\
|
||||
# IOCCC obfuscated and de-obfuscated!:\
|
||||
echo IOCCC | ./prog | ./prog\
|
||||
\
|
||||
# more input fun:\
|
||||
./prog - < try.this.txt 2>/dev/null\
|
||||
\
|
||||
# more obfuscated fun:\
|
||||
echo testing test tests | ./recode\
|
||||
echo testing test tests | ./recode | ./prog - 2>/dev/null\
|
||||
echo testing test tests | ./recode | ./prog - 2>/dev/null | ./recode\
|
||||
echo testing test tests | ./recode | ./prog - 2>/dev/null | ./recode | ./prog - 2>/dev/null
|
||||
|
||||
# even more obfuscated fun saving and reading from files:
|
||||
@@ -71,7 +71,7 @@ echo testing test tests | ./recode | ./prog - 2>/dev/null | ./recode | ./prog -
|
||||
# initial clean up:
|
||||
rm -f conf input output output2
|
||||
# encrypt "testing test tests" with randomised settings saved in conf, saving
|
||||
# original string to input and original output to output:
|
||||
# original string to input and original output to output:\
|
||||
echo testing test tests | tee input | ./recode -r -oconf | ./prog - 2>/dev/null >output
|
||||
# configure Enigma machine from conf file and read from output file, thus decrypting:
|
||||
./recode -Rconf -foutput | ./prog - 2>/dev/null > output2
|
||||
@@ -106,12 +106,12 @@ There is a good deal of useful documentation that is provided with this entry:
|
||||
```
|
||||
|
||||
|
||||
* [recode.html][] (or [recode.md](recode.md) if reading on GitHub)
|
||||
* [recode.html][] (or [recode.md](recode.md) if reading on GitHub)\
|
||||
- Some useful information about [recode.c](recode.c)
|
||||
|
||||
|
||||
* [chocolate-cake.html][] (or [chocolate-cake.md](chocolate-cake.md) if reading on GitHub)
|
||||
- Because most of us could use some *Double-layered Chocolate Fudge Cake*!
|
||||
* [chocolate-cake.html][] (or [chocolate-cake.md](chocolate-cake.md) if reading on GitHub)\
|
||||
- Because most of us could use some *Double-layered Chocolate Fudge Cake*!\
|
||||
- NOTE: see [recode.html][] (or [recode.md](recode.md) for details about how to decrypt this!
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Most phony
|
||||
|
||||
Edward Giles
|
||||
Edward Giles\
|
||||
<https://id523a.com/>
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Best utility
|
||||
|
||||
Ilya Kurdyukov
|
||||
Ilya Kurdyukov\
|
||||
<https://github.com/ilyakurdyukov>
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Least detailed
|
||||
|
||||
Ilya Kurdyukov
|
||||
Ilya Kurdyukov\
|
||||
<https://github.com/ilyakurdyukov>
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Bset slaml prragom
|
||||
|
||||
Ilya Kurdyukov
|
||||
Ilya Kurdyukov\
|
||||
<https://github.com/ilyakurdyukov>
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Best abuse of lámatyávë
|
||||
|
||||
Ilya Kurdyukov
|
||||
Ilya Kurdyukov\
|
||||
<https://github.com/ilyakurdyukov>
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Most percussive
|
||||
|
||||
Nathan Otterness
|
||||
Nathan Otterness\
|
||||
<https://github.com/yalue>
|
||||
|
||||
## To build:
|
||||
|
||||
+6
-6
@@ -1,6 +1,6 @@
|
||||
# Most misleading indentation
|
||||
|
||||
tsoj <tsoj.tsoj@gmx.de>
|
||||
tsoj <tsoj.tsoj@gmx.de>\
|
||||
<https://gitlab.com/tsoj>
|
||||
|
||||
## To build:
|
||||
@@ -33,13 +33,13 @@ reverse indentation style.
|
||||
## Author's remarks:
|
||||
|
||||
#### Controls
|
||||
- Movement:
|
||||
- Movement:\
|
||||
`w` (forwards), `a` (left), `s` (backwards), `d` (right)
|
||||
- Fire:
|
||||
- Fire:\
|
||||
`space`
|
||||
- Quit:
|
||||
- Quit:\
|
||||
`q`
|
||||
- Pause:
|
||||
- Pause:\
|
||||
`p`, then use any other key to resume
|
||||
|
||||
```
|
||||
@@ -79,7 +79,7 @@ cc -std=c99 -O3 prog.c -o prog
|
||||
- `-Wno-maybe-uninitialized`
|
||||
- You may experience a mild [motion aftereffect](https://en.wikipedia.org/wiki/Motion_aftereffect) when playing for too long
|
||||
#### High score
|
||||
Score will be shown in the top left corner.
|
||||
Score will be shown in the top left corner.\
|
||||
My best was **156**. If you beat that I'll send you the image of a very expensive chocolate.
|
||||
#### Features
|
||||
- Procedural star generation
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
# Best abuse of CPP
|
||||
|
||||
Don Yang
|
||||
Don Yang\
|
||||
<http://uguu.org/>
|
||||
|
||||
## To build:
|
||||
|
||||
Reference in new issue
Block a user