How to Play In Linux Terminal ?!

How to Play In Linux Terminal, Often, the text-based respectful games are a collection of BSD games. These games have been written several decades ago as part of the BSD Unix distribution.

Now you can enjoy playing with them on Linux in 2014.

Note: If not all, at least most of these games can be installed on any Linux distribution. In this tutorial, we focus on installing these games on the popular distribution of Ubuntu.

If you do not use this distribution, you can install these games from your Package Manager.

To install the BSD game suite on Ubuntu, use the following command:

sudo apt-get install bsdgames

There are a total of 43 games in this series. These games include:

The list consists of a lot of classic and famous games: adventure, one of the most original writing-based games and its name is attractive.

Worm is the original version of the famous Snake game, which was considered one of the most attractive features of Nokia phones. Tetris-BSD is a version under the old Tetris game terminal.

And Trek, a Star Trek television series for Klingons (which will be pre-produced by the television series).


If you would like to play Tetris in the Linux terminal, you can install a better version of what’s in the BSD game suite, called Bastet.

  Use this command to install it on Ubuntu:

sudo apt-get install bastet

To run the game, also type the word bastet.


But written-oriented games do not end into BSD or Tetris games; there are many more.

What do you think of a version of the classic Space Invaders series? The name of this game is ninvaders and you can install it using the following command:

sudo apt-get install ninvaders

The nth mark at the beginning of the game’s name implies that the game was written using the ncurses library.

This API library provides developers with the ability to write a roll-on user interface in the form of an independent terminal.


If you imagine that famous games such as Temple Run or Subway Surfer on the smartphone have created a new kind of game, then you’d better think a bit more! What do you think of the Moon-buggy game?

In this game you drove a car on the moon’s surface, while trying to avoid jumping over the mounds of the moon.

This game also has the ability to install on Ubuntu using the following command:

sudo apt-get install moon-buggy


Another fascinating game was the 2048 game. The game, which is also available on the web and smartphones, will be very easy to learn, but it’s very hard to get professional! The idea of this game is to drag the numbered tiles at a level 4 to 4.

Two tiles that touch each other are merged. You should continue to integrate the tiles so that you get a tile of 2048. The author-centric version of this game is also available.

The game needs to be built from its source code, which is not so complicated. Simply enter the following commands in the terminal:

gcc -o 2048 2048.c

These commands first download the game code and then make it in the current folder. You can use this command to run it:




Do you also have other written writing programs that can be used as a reminder of the nostalgic memories of the 21st century?

12 Amazing Terminal Based Games for Linux Enthusiasts

1. Nudoku

Nudoku is a terminal-based Soduku game for Linux. In Noduku, a player is required through logic to fill-up a 9×9 grid with numbers 1 to 9, just as any other game, it has different levels of difficulty from simple to advanced levels.

Nudoku Console Game for Linux

Nudoku Console Game for Linux

To install Nudoku on Linux, run:

# yum install nudoku      [On RedHat based systemes]
# dnf install nudoku      [On Fedora 23+ versions]
$ sudo apt-get install nudoku  [On Debian based systems]

Visit Homepage

2. 2048-cli

2048-cli is a simple yet interesting terminal game, it is a terminal implementation of the popular GUI-based 2048which is based on 1024 and theoretically has properties of Threes, which is a cross-platform, tiny puzzle smart phone game on iOS, Android and Windows phone.

2048 Game for Linux

2048 Game for Linux

To install 2048 Game on CentOS, RHEL, Scientific Linux and Fedora, run:

# yum install 2048-cli-nocurses
# dnf install 2048-cli-nocurses   [On Fedora 23+ versions]

On an Ubuntu/Debian system, you can install 2048 Game via:

$ sudo apt-get install libncurses5-dev
$ sudo apt-get install libsdl2-dev libsdl2-ttf-dev
$ sudo apt-get install 2048-cli

Visit Homepage

3. MyMan

MyMan is another easy-to-play text based game on your Linux terminal. Its development was highly influenced by the Japanese game development company, Namco’s famous Pac-Man game. It can run on several other Unix-like operating systems including FreeBSD, OpenBSD, Solaris and many more.

Myman Game for Linux

Myman Game for Linux

Visit Homepage

4. Greed

It is a clone of Pac-Man and Tron similar to MyMan above, but it offers colored text interface.

Greed Game for Linux

Greed Game for Linux

A player uses the keyboard arrows to eat as many digits as possible in any direction as he/she moves, the number of digits eaten equals to the number of steps in a particular direction.

You can install it on Debian/Ubuntu/Linux Mint systems as follows:

$ sudo apt-get install greed

Visit Homepage

Suggested Read: 5 Best Linux Gaming Distributions That You Should Give a Try

5. Pacm4conesole

Pacman4console is a free terminal clone of the famous Pac-man game, develop by Mike Billars who wants to play Pac-Man on the console to deal away with having to enable flash on a browser to play Pac-Man.

Pacman4console Game for Linux

Pacman4console Game for Linux

You can install Pacm4conesole game on Linux, using:

# yum install pacman4console
# dnf install pacman4console
$ sudo apt-get install pacman4console

Visit Homepage

6. Moon Buggy

Moon Buggy is an free, straightforward character game, in which a player controls a car over craters on th moon’s surface. You are simply require to side slide the car using control keys and jump over the craters to earn more marks.

Moon-Buggy Game for Linux

To install Moon Buggy Game on Linux, run:

# yum install moon-buggy
# dnf install moon-buggy
$ sudo apt-get install moon-buggy

Visit Homepage

7. Robot Finds Kitten

Robot Finds Kitten is also another free and interesting Linux terminal game, a player (robot) is require to check around different objects to find a kitten. A short description is display for every object that the robot inspects.

Robotfindskitten Game

Robotfindskitten Game

Visit Homepage

8. nInvaders

nInvaders is a terminal version of popular GUI Space invaders game, here, players have to defend the earth from Space invaders by controlling war ships at the bottom of the screen (earth).

nInvaders Game For Linux

To install nInvaders Game on Linux, run:

# yum install ninvaders
# dnf install ninvaders
$ sudo apt-get install ninvaders

Visit Homepage

9. Zangband

Zangband is a free, cross-platform, single player dungeon inspired adventure game. It is derive from Rogue hence the reference, a roguelike game. Instructions of how to play it are written in detail on the homepage.

Zangband Game

Zangband Game

To install Zangband Game on Linux, run:

# yum install zangband
# dnf install zangband
$ sudo apt-get install zangband

Visit Homepage

10. Nethack

Nethack is also a cross-platform dungeons and dragons inspired adventure game, just like Zangband. It has both GUI and text interface, the main concept in Nethack is to discover the detail of a dungeon but not to kill all things in sight, which is the case with other dungeon-like games.

NetHack Game for Linux

NetHack Game for Linux

To install Nethack Game on Linux, run:

# yum install nethack-console
# dnf install nethack-console
$ sudo apt-get install nethack-console

Visit Homepage

11. Linux Lunar Lander

Lunar Lander is an exciting terminal game on Linux, here, you require to fly a Lunar Module (LM) to the surface of the moon, where no penguin has ever going before.

Linux Lunar Lander

Linux Lunar Lander

On successful landing, with a small amount of fuel in your LM tanks, this will be a great step for the penguin to live otherwise, it will just become any other crater in the lunar soil.

12. Secret Adventure

Secret adventure is a fun-filled, small adventure game that you can play on Linux and Mac OS X terminals. It runs within the Emacs text editor and you can access it from your Linux terminal.

Remember, you must have Emacs text editor installed on your system, then you can launch it by simply issuing the command below and enjoy:

$ emacs -batch -l dunnet
Secret Adventure Game

Leave a Reply

Your email address will not be published. Required fields are marked *