This is the 11th day of my participation in the August More text Challenge. For details, see: August More Text Challenge

A lifelong learner, practitioner, and sharer committed to the path of technology, an original blogger who is busy and sometimes lazy, and a teenager who is occasionally boring and sometimes humorous.

Welcome to search “Jge’s IT Journey” on wechat!

It’s a game anyone can play with just two commands!


Hello, I’m Jack.

In fact, many people think it is difficult to learn The Linux operating system at the beginning, looking at the dense letters every day, it is also simple to understand the most basic operation commands to achieve some of the most basic operations, in addition, through the Linux operating system can do a lot of things, and so on. So today I’m going to share with you how to easily play these games from the Linux command line. Bring some entertainment to your work, might as well you can go on the computer to try it

1, Tetris bastet

sudo apt install bastet
Copy the code

Game play: key control block movement, key control block rotation.

2、太空入侵者 ninvaders

sudo apt-get install ninvaders
Copy the code

Gameplay: Press the space bar to fire bullets, and swipe left and right, shooting above the invaders.

3、贪吃蛇 nSnake

sudo apt-get install nsnake
Copy the code

Gameplay: Use the d-pad controls.

4. Pacman4console

sudo apt-get install pacman4console
Copy the code

Gameplay: Use the arrow keys to control movement.

The winner takes all

sudo apt-get install greed
Copy the code

Gameplay: The number represents the number of steps that can be advanced next.

Objective: Take as many steps as you can before biting your own tail.

6, Air Traffic Controller

sudo apt-get install bsdgames
Copy the code

How to play: Before playing, enter the MAN ATC command to see the description of the game.

Game objective: through a series of command input, guide the plane to take off and land, air tower control.

7. Moonbuggy

sudo apt-get install moon-buggy
Copy the code

8, Backgammon

sudo apt-get install bsdgames
Copy the code

9, 2048. C

~# wget
~# gcc -o 2048 2048.c
~# ./2048
Copy the code

10. Tron plays online games

Copy the code

Game play: use W/S/A/D four direction keys to control the direction of the snake’s movement.

Game goal: don’t bite others and don’t bite yourself. The longer you live, the higher your score.

Recommended reading

99% of Linux operation and maintenance engineers must master the command and use

Common commands of the Oracle database in Linux

Common commands of the vi/vim editor in Linux

Install and manage programs in Linux (basic process of package encapsulation, RPM command, source code compilation and installation)

Manage accounts and rights in Linux

Linux disk and file system management

Process and scheduled task management in Linux

Analyze and rectify system faults in Linux

Common KVM commands in Linux

Easily take you to play with the Linux environment under the date syntax!

In this paper, to the end.

Original is not easy, if you think this article is a little useful to you, please give me a like, comment or forward for this article, because this will be my power to output more quality articles, thanks!

By the way, dig friends remember to give me a free attention yo! In case you get lost and you can’t find me next time.

See you next time!