Cloned Games

Tetris (in C and NCURSES)

HaltedPlayableLinux

Based on Tetris

Tetris (in C and NCURSES) screenshotLinks, repository & details

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 issues & limitations

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

More like Tetris (in C and NCURSES)

Active
Ebitengine screenshot
Ebitengine is an open-source, cross-platform 2D game engine for Go, with simple APIs for graphics, input, and audio across many platforms.
Platforms:Web
Stars13,485
Updated1 month ago
LicenseApache-2.0
Release2013
Halted
Original game (original game, not this project)Original game image
A web-based puzzle game inspired by Tetris, playable directly in the browser with no installation required.
Platforms:Web
Stars2,435
Updated3 years ago
LicenseUnknown
Release2014
Sporadic
Tetris-SQL screenshot
Tetris implemented entirely as a single PostgreSQL SQL query, using recursive CTEs to drive the game loop.
Platforms:None
Stars1,040
Updated1 year ago
LicenseMIT
Release2024
Halted
Javascript Tetris screenshot
A basic MIT-licensed HTML5 canvas implementation of Tetris for major browsers, with development halted before planned features were added.
Platforms:Web
Stars733
Updated1 year ago
LicenseMIT
Release2011
Halted
NullpoMino screenshot
An open-source Java falling-block puzzle game with many single-player modes and Internet/LAN netplay.
Platforms:WindowsLinuxOSX
Stars565
Updated5 years ago
LicenseBSD-3-Clause
Release2016
Active
Seed7 screenshot
An open-source programming language whose example programs include recreations of classic games like Pac-Man and Tetris.
Platforms:Windows
Stars461
Updated1 month ago
LicenseGPL-2.0
Release2020