Cloned Games

Tetris (in C and NCURSES)

HaltedPlayableLinux

Based on Tetris

Tetris (in C and NCURSES) screenshot

About

Tetris is a puzzle video game created by Alexey Pajitnov in the mid-1980s, in which falling four-block tetrominoes are stacked and cleared by filling complete horizontal lines. This is a terminal-based Tetris clone written in C using NCURSES for the interface and SDL/SDL_mixer for optional sound, targeting Linux. The author describes it as feature-complete aside from a few stretch goals not yet implemented.

How it differs from the original

It adds a save/resume feature and a 'boss mode' that disguises the game as a mock terminal screen to fool onlookers — additions not present in the original Tetris.

Getting started

Install the SDL_mixer and ncurses dependencies (available via the package manager on Arch or Ubuntu), then build with make and run the compiled binary. Controls include the arrow keys to move and rotate, down to drop instantly, p to pause, q to quit, and b to trigger 'boss mode'; sound is optional and requires supplying your own audio file, since the official Tetris theme couldn't legally be bundled.

Known limitations

  • audio: Requires a tetris.mp3 file in the working directory for sound, but the game is fully playable without it.
Share:

We’d like to use analytics cookies to understand how visitors use this site. See our Privacy Policy for details. Nothing else is tracked, and the site works the same either way.