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.

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

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles available FREELY to all.

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Support Us

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.