Linux Fun – Play Old Classic Snake Game in Linux Terminal

msnake is the Linux command line version of the most popular old classic snake game was written in C using ncurses library by Mogria and Timo Furrer. The game can be played at terminal with textual interface in almost all GNU/Linux distributions.

The game is highly customizable and includes free/classic gameplay modes, keybindings, and even the GUI-like appearance of the application.

To run msnake game on all modern Linux distributions such as Ubuntu, Debian, Linux Mint, Fedora and Arch Linux, simply install it from the snapd package management software as shown.

------------ On Debian/Ubuntu/Mint ------------ 
$ sudo apt install snapd
$ sudo snap install msnake 

------------ On Fedora ------------
$ sudo dnf install snapd
$ sudo snap install msnake 

------------ On Arch Linux ------------
$ sudo yaourt -S snapd
$ sudo snap install msnake 

Once installed, you can simply type ‘msnake‘ on the terminal to start the game. The gameplay is the same of any snake game. You control a hungry snake and the mission is to collect points by eating as many fruits (means $) as you can to set highest score. Each eaten fruit increase it’s size by two units. When snake clashes with itself or walls the game ends.

$ msnake

See the msnake gameplay in action.

Snake Gameplay in Linux Terminal

Snake Gameplay in Linux Terminal

Game Controls

The msnake game can be controlled and customizable using the following keybindings.

  • w – move up
  • a – move left
  • s – move down
  • d – move right
  • 8 – slower
  • 9 – faster
  • 0 – reset speed
  • p – pause the game
  • enter – shows menu

Uninstall Snake Game

To uninstall msnake game, simply use the snap command to remove it completely from the system using following command.

$ sudo snap remove msnake

What’s your opinion about msnake? Have you ever played it before? What other similar terminal games you play? Do share your views via our comment section.

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

Got something to say? Join the discussion.

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.