Terminal is a powerful tool in any Linux OS with lots of uses. You can also play games in your terminal. Now we are going to see some best Linux command line terminal games on your Ubuntu.
Best Linux Command Line Games
1.Nsnake:
Nsnake is a popular clone of the classic Nokia snake game. To install this game on your Ubuntu, open terminal and type the below code and hit enter.
sudo apt-get install nsnake
Type your ubuntu password if asked. To open the game just type
nsnake
on the terminal window. Use the up and down keys to move on menus. Select the menu by pressing the enter key. Here you can also change the keyboard controls.
Use arrow keys to move the snake to feed it.
2.2048
2048 is a very popular sliding block puzzle game by Italian web developer Gabriele Cirulli.You need to the slide numbered tiles on a grid to combine them to create a tile with the number 2048.
To install 2040 on ubuntu type the below command in terminal and press the enter key.
wget https://raw.githubusercontent.com/mevdschee/2048.c/master/2048.c
then the below code in terminal.
gcc -o 2048 2048.c
To run the game, just type the below command and hit enter.
./2048
Use the arrow keys to move and q for quit the game.
3.Bastet
Bastet is the Tetris clone for your Linux OS.To install it on ubuntu use the below code in the terminal.And type Y to confirm the installation.
sudo apt install bastet
To play the game, run the below command in terminal.
bastet
Use the arrow keys to move the blocks and space bar to rotate the block.
4.Pacman4console
Pacman4console is a console version of the popular arcade game Pacman. use the below command to install the game.
sudo apt-get install pacman4console
To run the game use the below command.
Note: Maximize your terminal windows to play the game.
pacman4console