Skip to main content

How To Play Games On Terminal?

Hello Everyone !!!
In this tutorial, I will show you how simple it actually is to play games on the terminal by using SUDO commands. SUDO means Super User Do Commands !!!

Intro

We can do many things by using the Terminal with a few commands. The terminal is a very powerful tool to perform amazing commands. In this tutorial, we are going to play games on the Linux terminal.

What You Need?

We are going to play games on Linux Terminal. The requirements are -
  • Linux Terminal
  • Internet Connection 
  • Administration Password 

Let's Get Started

We are going to use 3 Commands to install the game at a time on one line. Be careful while using the "SUDO" command. It is a very simple command as well as dangerous & destructive. Let's get started with the following steps.

Step 1: Open the Terminal

First of all, open the terminal. Go to applications & choose terminal. Also, we can use a keyboard shortcut to open the terminal. Keyboard Shortcut For Terminal: CTRL + ALT + T.

Step 2: Install

In this step, we are going to use 3 commands. 
  • sudo 
  • apt-get
  • install


To install the game, Use 

DCs-      :~ Dhanraj$ sudo apt-get install bastet

Here, Sudo stands for "Super User Do". After using this command, now you are a Super User !! And, the "apt" is an advanced packaging tool. The "apt-get" command allows us to download the package. The "install" command installs the downloaded package.

Step 3: Authentication

After running above command, it will ask for password because we have used "SUDO" command.


Enter the password. Don't worry about password visibility. The password cursor will continuously blink while entering the password. But the password will not visible on screen while typing the password. After entering the password, the installation process will take a few seconds to install the game package.


After getting notifications like this, you are all set up to play the game.

Step 4: Open the game

To open the game, type the name of the game to open it.

DCs-       :~ Dhanraj$ bastet

It will open the installed game on the terminal.


Enjoy the game!!!

Install & Run Terminal Games

There are so many games to play on the terminal. To install them, use the following same command.

DCs-      :~ Dhanraj$ sudo apt-get install (Name Of Game)

To run the game: type the name of the game

DCs-      :~ Dhanraj$ (Name Of Game)

Explore Amazing Terminal Games

  • bastet
  • pacman4console
  • ninvaders
  • nsnake
  • greed
  • moon-buggy
Explore more games, Play & Enjoy !!!

!!! Thank For Reading !!!
~ Coding Potter ~
~ Out Of Box Learning Series ~


Comments

Popular

How to { Compile + Run } a C Program Using Nano

Hello Everyone !!! If you don't have an IDE or Software with you to run your code, then don't worry !!! We have Hulk. Oops !! Sorry that was Tony Stark's dialogue... We have Nano to Compile & Run the program. At the end of this tutorial, you will be able to compile & run a C program using Nano Text Editor on the Terminal. Intro In the previous tutorial, we learned about the basic functions of Nano Text Editor using Command Line. If you haven't seen the previous tut, then click here . I found this feature of running C program with Nano while Code Blocks Software on my Mac was continuously crashing. So, when you don't have any IDE (Integrated Development Environment), you should use Nano. Let's Get Started Let's open up the Terminal. We can use (Ctrl + Alt + T) shortcut to open the terminal. The terminal is a very powerful tool of the operating system. Creating a new file DCs-MacBook-Air:~ Dhanraj$ nano fileName.c Here,

How To Convert Integer Into ASCII Value Using C Program ?

Hi Everyone!!! At the end of this module, you will be able to get ASCII value from Integer using a C program. Intro There are many hidden tricks in C that are very useful and simple to use. Now, we are going to code a C program that converts an integer into ASCII value. Let's Go. Logic Declare a character variable Store character value to that variable from the user ("%c") Print the ASCII value ("%d") Program Output Trick Here is a trick. When we convert a character value into an integer by using ("%s" to "%d"), GNU Compiler prints the ASCII value assigned to that character. This conversion is known as Type-Casting in programming. Outro If you like it, please share it with your friends and leave your comments below. Thank You!!!

NANO | Command Line Text Editor

In this tutorial, you will learn to open, view & edit text files using the "Nano Text Editor" by running amazing commands in the terminal. Index Intro  Why Use Text Editors?  Let's Get Started  Open Text Editor  Create a New File  Open Existing File  Editing The File  Saving The File  Useful Cheats  Final Touch  What's Next?  Intro If you want features like undo/redo, syntax highlighting, line numbers, multiple files at once, replace at all locations, file locking, file backup with simple commands, then definitely you need Nano Text Editor. Nano is quite an old text editor written in C. Text Editor is a program which allows you open, view, edit text files. Text Editors can handle many different programming languages like C, Python, Ruby, HTML, CSS, etc. There are some Softwares like Microsoft Word, Pages, Google Docs. But, we can't use them to code. Text Editors are not IDE (Integrated Development Environment). Text Editor is a very