Thanks to visit codestin.com
Credit goes to github.com

Skip to content

signothecat/zsnake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 日本語(Japanese)

zsnake

zsnake

A retro snake game for your terminal 🐍

Table of Contents

Features

  • Simple / Retro / Classic snake game
  • Play with ⬅️⬆️⬇️➡️ arrow keys, W/A/S/D, or h/j/k/l

Requirements

  • Zsh 5.8+

Notes: The game is rendered using Unicode characters.
On ASCII-only terminals, the display may be misaligned or garbled.
(This issue is WIP)

Installation

Local Run (Simple)

Clone the repository:

git clone https://github.com/signothecat/zsnake.git

Move to the directory:

cd zsnake

Run the game:

zsh zsnake.zsh

Global Install (Play Anywhere)

Clone the repository:

git clone https://github.com/signothecat/zsnake.git

Move to the directory:

cd zsnake

Copy zsnake.zsh as /usr/local/bin/zsnake:

sudo cp zsnake.zsh /usr/local/bin/zsnake

Run the game:

zsnake

FAQ

How can I uninstall zsnake?

If you cloned the repository locally, simply delete the zsnake folder.

rm -rf zsnake

If you installed it globally by copying to /usr/local/bin, remove /usr/local/bin/zsnake.

sudo rm /usr/local/bin/zsnake

Contributing

This project is still a work in progress.
Issues or pull requests are very welcome! 🙏
X(Twitter): @signothecat

License

MIT License © 2025 signothecat

About

A retro snake game for your zsh terminal — lightweight / no-depenency.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages