There are countless toys in terminal on Linux. Yes, sometimes you just need to step back from the configuration files, monitoring tools, etc. – to bring your mind and play a bit in the terminal. Even at work.
In this article we will tell you how to play Space invaders the Linux terminal; terminal in the free version of the well known GUI of the game Space Invaders with open source.
The main task is to defend Earth from space invaders (the huge number of aliens), driving military vehicles from the Ground (bottom of screen). Before you play Space Invaders, you must first install it using terminal by simply entering these commands (note that you must have the universe repository enabled):
$ sudo yum install ninvaders #on CentOS/RHEL
$ sudo dnf install ninvaders #on Fedora 22+
$ sudo apt-get install ninvaders #on Debian/Ubuntu
: nInvaders #on RHEL 6
After installation the game can be played with the command:
When you start you will see the interface like the picture below. Press the Spacebar to start the game.
Use the Left and Right arrows for movement of a warship. Shoot using the Space key. From the descending ships can just Dodge or hide behind the big stationary units (green). Task – to kill all the aliens.
You may be interested in:
- TOP 10 console games for Linux
That’s all! In this article, we looked at how to play Sapce Invaders Linux command line. Do you know of any interesting games in the terminal in which it would be possible to play for a change at work? Tell others in the comments!