Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Tip: Games for the CLI

Share your HowTo, Documentation, Tips and Tricks. Not for support questions!.
Post Reply
Message
Author
User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2029
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 139 times
Been thanked: 206 times

Tip: Games for the CLI

#1 Post by Hallvor »

Gaming is usually thought of as an activity from the GUI, but there are several nice CLI-based games that will run fine on just about any hardware.


1. Pacman4console is a clone of the famous Pac-man game

Code: Select all

# apt install pacman4console

2. Ninvaders is a clone of the classic Space Invaders game

Code: Select all

# apt install ninvaders

3. Bastet is a Tetris clone

Code: Select all

# apt install bastet

4. GNU Chess

Code: Select all

# apt install gnuchess

5. nSnake is a classic that doesn't need any introduction

Code: Select all

# apt install nsnake

6. Nudoku is a 9x9 grid Sudoku game

Code: Select all

# apt install nudoku

7. Bombardier is an arcade game where you destroy buildings from an aircraft.

Code: Select all

# apt install bombardier

8. Curse of War is a fast-paced action strategy game

Code: Select all

# apt install curseofwar

9. Empire is a real-time strategy game (requires an active Internet connection)

Code: Select all

# apt install empire

10. Nethack is a dungeons and dragons-style game

Code: Select all

# apt install nethack-console

11. 2048 is a puzzle game

Code: Select all

# apt install 2048

12. Moon buggy is a game where you drive a car on the moon's surface

Code: Select all

# apt install moon-buggy

13. Zangband is an adventure game inspired by dungeons and dragons

Code: Select all

# apt install zangband

14. Angband is yet another dungeons and dragons inspired game

Code: Select all

# apt install angband
Please comment below if there are others that you think should be on this list.
Last edited by Hallvor on 2022-05-16 17:57, edited 2 times in total.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: Tip: Games for the CLI

#2 Post by Head_on_a_Stick »

My favourite is crawl, which is another roguelike D&D experience, formally known as Dungeon Crawl (Stone Soup edition). It has outstanding depth and re-playability and is still under development. It's freakishly hard but that just makes wins all the more satisfying :-)

It also has a graphical version (crawl-tiles) but that's off-topic here.
deadbang

Cyborg
Posts: 38
Joined: 2016-12-01 19:07
Has thanked: 1 time
Been thanked: 2 times

Re: Tip: Games for the CLI

#3 Post by Cyborg »

Cataclysm: Dark Days Ahead has tons of depth and feels like it suck become seriously addictive. But it's quite hard and I don't think I've ever survived more than a couple of hours.
And don't forget Dwarf Fortress, obviously.

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: Tip: Games for the CLI

#4 Post by craigevil »

trader - simple game of interstellar trading
open-adventure - colossal cave adventure, the 1995 430-point version
moria - Moria's dungeons are populated by monsters, some of which are inspired by
J.R.R. Tolkien's books.
greed - curses-based clone of the DOS free-ware game Greed
gearhead - roguelike mecha role playing game, console version
nbsdgames - It includes: battleship, checkers, fifteen, fisher, jewels, memoblocks,
miketron, mines, muncher, pipes, rabbithole, redsquare, reversi, sos, sudoku.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Tip: Games for the CLI

#5 Post by kedaha »

Quite a few are provided by bsdgames.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: Tip: Games for the CLI

#6 Post by craigevil »

If you install the games-console metapackage you get:

Code: Select all

 2048
  an
  angband
  animals
  asciijump
  bastet
  bombardier
  bsdgames
  cavezofphear
  colossal-cave-adventure
  crawl
  curseofwar
  empire
  freesweep
  gearhead
  gnugo
  gnuminishogi
  greed
  matanza
  moria
  nethack-console
  netris
  nettoe
  ninvaders
  nsnake
  nudoku
  ogamesim
  omega-rpg
  open-adventure
  pacman4console
  pacvim
  petris
  piu-piu
  robotfindskitten
  slashem
  sudoku
  tetrinet-client
  tint
  tintin++
  trader
  vitetris
Suggests: aajm, cbonsai, termtris
While games-rogue gives you:

Code: Select all

allure
  angband
  boohu
  cataclysm-dda-sdl
  crawl
  gearhead
  gearhead2
  hearse
  hyperrogue
  lambdahack
  meritous
  moria
  nethack-x11
  omega-rpg
  slashem
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

Post Reply