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 ingenious puzzle solution
|
||||
|
||||
Aidan Thornton
|
||||
United Kingdom
|
||||
Aidan Thornton\
|
||||
United Kingdom\
|
||||
<makomk@lycos.co.uk>
|
||||
|
||||
|
||||
@@ -122,7 +122,7 @@ Now, with modern computers this **can** be solved using brute force, e.g.:
|
||||
|
||||
```c
|
||||
#include <stdio.h> /* sudoku-bfi.c */
|
||||
#define S(t) for(n=0;n<9;v[n++]=0);for(n=0;n<81;n++)if(i[n]){z=1<<i[n];if(v[t]\
|
||||
#define S(t) for(n=0;n<9;v[n++]=0);for(n=0;n<81;n++)if(i[n]){z=1<<i[n];if(v[t]\\
|
||||
&z)for(;;){if(p<0)goto d;if(i[p]++<9)goto f;i[p]=0;p=s[p];}v[t]|=z;}
|
||||
int i[82],s[81],v[9],n,p,z;int main(void){for(n=0;n<81;){p=getchar()^48;if(p==
|
||||
30)p=0;if(p<10)i[n++]=p;}i[81]=0;p=-1;f:S(n%9)S(n/9)S(n%9/3+n/27*3)if(p>80)goto
|
||||
@@ -256,7 +256,7 @@ hurry.
|
||||
but I don't feel like learning curses just for this. Besides, I spent enough
|
||||
of the time swearing as it is.
|
||||
|
||||
* If you mistype a sudoku (e.g. from a paper/magazine) - and you will - it
|
||||
* If you mistype a sudoku (e.g. from a paper/magazine) - and you will - it\
|
||||
can't help you figure out where the mistake is, sadly.
|
||||
|
||||
### Portability
|
||||
|
||||
+35
-35
@@ -141,7 +141,7 @@ o | Move empty spot backwards
|
||||
```
|
||||
|
||||
**NOTE:** as a measure of alleviating counter-productivity due to addiction to
|
||||
this game, particularly for those hardcore gamers who insist on solving a
|
||||
this game, particularly for those hardcore gamers who insist on solving a\
|
||||
10x10x10 puzzle during work hours, and also to give an upper bound to user
|
||||
frustration when the program generates an unsolvable puzzle (which it does
|
||||
roughly half the time, just to hook you), the program will, after a very large
|
||||
@@ -448,24 +448,24 @@ program, and what the various state numbers are meant to do:
|
||||
|
||||
```
|
||||
0 | Function return value
|
||||
1 | Function argument 1
|
||||
2 | Function argument 2
|
||||
3 | Function argument 3
|
||||
4 | Scratch register 1
|
||||
5 | Scratch register 2
|
||||
6 | Scratch register 3
|
||||
7 | Scratch register 4
|
||||
8 | Value of original argv :-)
|
||||
9 | Value of original argc :-)
|
||||
11 | Zero register (always set to 0)
|
||||
12 | Width of board
|
||||
13 | Length of board
|
||||
14 | Height of board
|
||||
15 | Current position of hole
|
||||
16 | Random seed for rand_r()
|
||||
18 | Scratch register used by state 18 :-)
|
||||
31 | field width for printing tiles
|
||||
32 | Start of board data
|
||||
1 | Function argument 1\
|
||||
2 | Function argument 2\
|
||||
3 | Function argument 3\
|
||||
4 | Scratch register 1\
|
||||
5 | Scratch register 2\
|
||||
6 | Scratch register 3\
|
||||
7 | Scratch register 4\
|
||||
8 | Value of original argv :-)\
|
||||
9 | Value of original argc :-)\
|
||||
11 | Zero register (always set to 0)\
|
||||
12 | Width of board\
|
||||
13 | Length of board\
|
||||
14 | Height of board\
|
||||
15 | Current position of hole\
|
||||
16 | Random seed for rand_r()\
|
||||
18 | Scratch register used by state 18 :-)\
|
||||
31 | field width for printing tiles\
|
||||
32 | Start of board data\
|
||||
```
|
||||
|
||||
(**CAVEAT:** not all of these mappings ended up in the final version of the
|
||||
@@ -481,22 +481,22 @@ to be on all tested architectures.)
|
||||
#### State number assignments
|
||||
|
||||
```
|
||||
1 | showhelp
|
||||
2 | showhelp
|
||||
3 | is 2D: start init
|
||||
4 | is 3D: start init
|
||||
5 | find allocation type
|
||||
6 | MASS init, bottom-up
|
||||
7 | MASS init, top-down
|
||||
8 | main program
|
||||
9 | generate() outer loop
|
||||
13 | render()
|
||||
14 | render() loop
|
||||
15 | exit(0)
|
||||
16 | pick a tile that hasn't occurred yet
|
||||
17 | inner loop of 16.
|
||||
18 | main loop
|
||||
19 | checkwin() loop
|
||||
1 | showhelp\
|
||||
2 | showhelp\
|
||||
3 | is 2D: start init\
|
||||
4 | is 3D: start init\
|
||||
5 | find allocation type\
|
||||
6 | MASS init, bottom-up\
|
||||
7 | MASS init, top-down\
|
||||
8 | main program\
|
||||
9 | generate() outer loop\
|
||||
13 | render()\
|
||||
14 | render() loop\
|
||||
15 | exit(0)\
|
||||
16 | pick a tile that hasn't occurred yet\
|
||||
17 | inner loop of 16.\
|
||||
18 | main loop\
|
||||
19 | checkwin() loop\
|
||||
```
|
||||
|
||||
Note that some of the manually-implemented states (those not implemented by
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Most superfluous output
|
||||
|
||||
Francois Boutines
|
||||
Toulouse, France
|
||||
Francois Boutines\
|
||||
Toulouse, France\
|
||||
<francois.boutines@gmail.com>
|
||||
|
||||
## To build:
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
# Most ambiguous language
|
||||
|
||||
V. Chia
|
||||
Singapore
|
||||
V. Chia\
|
||||
Singapore\
|
||||
<bi@mncw.tk>
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Best 2D puzzle
|
||||
|
||||
Gil Dogon
|
||||
Israel
|
||||
Gil Dogon\
|
||||
Israel\
|
||||
<gil_jade@netvision.net.il>
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Most sonorous output
|
||||
|
||||
Jetro Lauha
|
||||
Finland
|
||||
Jetro Lauha\
|
||||
Finland\
|
||||
<http://jet.ro>
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Abuse of the rules
|
||||
|
||||
Peter Klausler
|
||||
US
|
||||
Peter Klausler\
|
||||
US\
|
||||
<pmk@cray.com>
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Best use of parenthesis
|
||||
|
||||
Michael Ash
|
||||
US
|
||||
mike@mikeash.com
|
||||
Michael Ash\
|
||||
US\
|
||||
mike@mikeash.com\
|
||||
<https://mikeash.com>
|
||||
|
||||
## To build:
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
# Best use of the WWW
|
||||
|
||||
Anthony Howe
|
||||
<achowe@snert.com>
|
||||
Anthony Howe\
|
||||
<achowe@snert.com>\
|
||||
<http://www.snert.com>
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Best of Show
|
||||
|
||||
Mauro Persano
|
||||
Brazil
|
||||
Mauro Persano\
|
||||
Brazil\
|
||||
<mauro_persano@yahoo.com>
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Best Emulator
|
||||
|
||||
Stephen Sykes
|
||||
<sds@maxisat.fi>
|
||||
Stephen Sykes\
|
||||
<sds@maxisat.fi>\
|
||||
<https://web.archive.org/web/20160316092728/http://www.stephensykes.com/>
|
||||
|
||||
## To build:
|
||||
@@ -154,8 +154,8 @@ RUN
|
||||
|
||||
Many other old programs will run in this emulator too. Files with a `.PRG`
|
||||
extension should work. (Look, for instance, here:
|
||||
<http://www.zimmers.net/anonftp/pub/cbm/pet/ALLFILES.html>,
|
||||
or try this one: <http://www.zimmers.net/anonftp/pub/cbm/pet/games/english/dungeon.prg>)
|
||||
<http://www.zimmers.net/anonftp/pub/cbm/pet/ALLFILES.html>,\
|
||||
or try this one: <http://www.zimmers.net/anonftp/pub/cbm/pet/games/english/dungeon.prg>)\
|
||||
The filenames must be upper case in order to be loaded by the emulator.
|
||||
|
||||
You can save programs too - try
|
||||
@@ -302,7 +302,7 @@ What does this do?
|
||||
```sh
|
||||
./sykes pet.rom -1
|
||||
```
|
||||
|
||||
\
|
||||
Have fun!
|
||||
|
||||
## Copyright and CC BY-SA 4.0 License:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# Most discourteous interpreter
|
||||
|
||||
Arne "Timwi" Heizmann
|
||||
Germany
|
||||
Arne "Timwi" Heizmann\
|
||||
Germany\
|
||||
<timwi@gmx.net>
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Best Game
|
||||
|
||||
Oscar Toledo G.
|
||||
Familia Toledo
|
||||
Mexico
|
||||
Oscar Toledo G.\
|
||||
Familia Toledo\
|
||||
Mexico\
|
||||
<https://nanochess.org>
|
||||
|
||||
## To build:
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
# Most circuitous walk
|
||||
|
||||
Daniel Vik
|
||||
US
|
||||
<daniel@vik.cc>
|
||||
Daniel Vik\
|
||||
US\
|
||||
<daniel@vik.cc>\
|
||||
<https://www.vik.cc>
|
||||
|
||||
## To build:
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Most beauteous visuals
|
||||
|
||||
Vincent Weaver
|
||||
US
|
||||
<vince@deater.net>
|
||||
Vincent Weaver\
|
||||
US\
|
||||
<vince@deater.net>\
|
||||
<http://www.deater.net/weave/>
|
||||
|
||||
## To build:
|
||||
|
||||
Reference in new issue
Block a user