Skip to content

Commit 8d8bde2

Browse files
committed
Add terminal games and ascii previews
1 parent 9525223 commit 8d8bde2

56 files changed

Lines changed: 1881 additions & 54 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

assets/basics/terminalgames.md

Lines changed: 457 additions & 33 deletions
Large diffs are not rendered by default.

assets/commands/2048.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ terminal-based sliding tile puzzle game
3131
**r**
3232
> Restart game
3333
34+
# PREVIEW
35+
36+
```
37+
. 2 . .
38+
. 4 16 2
39+
2 . 4 .
40+
. . 2 8
41+
```
42+
3443
# DESCRIPTION
3544

3645
**2048** is a sliding tile puzzle game. The objective is to combine numbered tiles on a 4x4 grid to create a tile with the number 2048.

assets/commands/adventure.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ Original Colossal Cave text adventure game
1616

1717
**adventure** [_-r_]
1818

19+
# PREVIEW
20+
21+
```
22+
You are inside a building.
23+
There are some keys on the
24+
ground here.
25+
26+
> get keys
27+
OK
28+
```
29+
1930
# DESCRIPTION
2031

2132
**adventure** (also known as Colossal Cave Adventure or ADVENT) is the original text adventure game. Players explore a cave system described entirely through text, interacting with the environment using simple verb-noun commands like "GO NORTH", "GET LAMP", or "KILL DRAGON".

assets/commands/angband.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ Roguelike dungeon exploration game
4848
**-s** _path_
4949
> Set the path for save files.
5050
51+
# PREVIEW
52+
53+
```
54+
######
55+
#....# ####
56+
#..@.####..#
57+
#....# #..#
58+
###### ####
59+
```
60+
5161
# DESCRIPTION
5262

5363
**Angband** is a classic single-player roguelike dungeon exploration game. The player creates a character and descends through 100 levels of a dungeon to ultimately defeat Morgoth, the Lord of Darkness. The game features permadeath, procedurally generated levels, and turn-based gameplay.

assets/commands/asciijump.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# TAGLINE
2+
3+
ASCII art ski jumping game
4+
5+
# TLDR
6+
7+
**Start a game**
8+
9+
```asciijump```
10+
11+
**Start in competition mode**
12+
13+
```asciijump -c```
14+
15+
# SYNOPSIS
16+
17+
**asciijump** [_options_]
18+
19+
# PARAMETERS
20+
21+
**-c**
22+
> Competition mode.
23+
24+
**-h**
25+
> Display help.
26+
27+
# PREVIEW
28+
29+
```
30+
\O/
31+
| /
32+
/ \ /
33+
______/________
34+
90m K-point
35+
```
36+
37+
# DESCRIPTION
38+
39+
**asciijump** is an ASCII-art ski jumping game. The player controls a ski jumper, timing the jump and landing to achieve maximum distance. The game features multiple hills and a competition mode with scoring.
40+
41+
Controls: press space to jump at the right moment and again to land safely. Timing affects both distance and style points.
42+
43+
# CAVEATS
44+
45+
Requires a terminal with ncurses support. Multiplayer support available.
46+
47+
# HISTORY
48+
49+
**asciijump** was created as a fun terminal recreation of ski jumping competitions.
50+
51+
# SEE ALSO
52+
53+
[moon-buggy](/man/moon-buggy)(6), [ninvaders](/man/ninvaders)(6)

assets/commands/atc.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,16 @@ Show **high scores**
2424

2525
**atc** [_-u?lstp_] [_-gf game_] [_-r seed_]
2626

27+
# PREVIEW
28+
29+
```
30+
. . . * . .
31+
. A2 . . . .
32+
. . . . B1 .
33+
. . . . . .
34+
. . C3 . . .
35+
```
36+
2737
# DESCRIPTION
2838

2939
**atc** is a classic text-based air traffic control simulation game from the BSD games collection. Players guide jets and propeller planes to their destinations via exits and airports while avoiding collisions, managing multiple aircraft simultaneously.

assets/commands/backgammon.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,15 @@ Start a **two-player** game
2424

2525
**backgammon** [_-_] [_-nrwb_] [_-pr_] [_-pw_] [_-pb_] [_-t term_] [_-s file_]
2626

27+
# PREVIEW
28+
29+
```
30+
13 14 15 16 17 18
31+
O X X O
32+
O X O
33+
O
34+
```
35+
2736
# DESCRIPTION
2837

2938
**backgammon** is a classic text-based backgammon game from the BSD games collection. It provides a text-based interface for playing backgammon against the computer or another player. Players move checkers based on dice rolls, attempting to bear off all pieces before their opponent.

assets/commands/bastet.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,19 @@ Tetris clone that gives you the worst possible pieces
1212

1313
**bastet**
1414

15+
# PREVIEW
16+
17+
```
18+
[]
19+
[][]
20+
[]
21+
22+
[][][]
23+
[][]
24+
[][][][]
25+
[][][][]
26+
```
27+
1528
# DESCRIPTION
1629

1730
**bastet** (Bastard Tetris) is a Tetris clone with a twist - it chooses the worst possible piece for your current situation. The game analyzes your board and deliberately gives you pieces that are hardest to place, making it significantly more challenging than standard Tetris.

assets/commands/battlestar.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ Text-based science fiction adventure game
1616

1717
**battlestar** [_-r_] [_file_]
1818

19+
# PREVIEW
20+
21+
```
22+
You are in the cockpit.
23+
Strewn about are pieces
24+
of broken instrumentation.
25+
26+
> look
27+
```
28+
1929
# DESCRIPTION
2030

2131
**battlestar** is a text adventure game from the BSD games collection. Set aboard a battlestar at the tail end of a fierce space battle, players must explore the wreckage, find essential items, and survive encounters while navigating through various locations including tropical islands.

assets/commands/boggle.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,15 @@ Word search game on a grid of letter cubes
2828

2929
**boggle** [**-bd**] [**-s** _seed_] [**-t** _time_] [**-w** _length_] [**+**] [**++**] [_boardspec_]
3030

31+
# PREVIEW
32+
33+
```
34+
D O G S
35+
R A T E
36+
L I N K
37+
P U M P
38+
```
39+
3140
# DESCRIPTION
3241

3342
**boggle** is a word search game from the BSD games collection. The objective is to find as many words as possible on a 4x4 grid of letter cubes within a three-minute time limit.

0 commit comments

Comments
 (0)