I finished a project that allows you to play Tetris on Linux terminal. Here's the screenshort of this game. It's written in Linux Shell script.

If you like it, you may fork and star it

git clone https://github.com/You0916/terminal_games.git

In that repo, there are also a classic game Snack and a Terminal clock. Like this:

All of them are written in Shell.

If you want to launch them with just a command, like ls and other commands, you can do as follows. You need to open ~/.bashrc first.

alias tetris="bash full_path_of_tetris.sh"
alias aclock="bash full_path_of_aclock.sh"
alias snack="bash full_path_of_snack.sh"

Then you can launch them using the following commands:


If you have any problems, feel free to reach out to me!

Last modified: February 13, 2020



Leave a Reply