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 liked this article, then do subscribe to email alerts for Linux tutorials. If you have any questions or doubts? do ask for help in the comments 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.

Got something to say? Join the discussion.

Have a question or suggestion? Please leave a comment to start the discussion. Please keep in mind that all comments are moderated and your email address will NOT be published.

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