https://github.com/gnat/tetris-machine
:video_game: 3D Tetris in pure C using OpenGL & SDL.
https://github.com/gnat/tetris-machine
c game game-development opengl sdl tetris
Last synced: 17 days ago
JSON representation
:video_game: 3D Tetris in pure C using OpenGL & SDL.
- Host: GitHub
- URL: https://github.com/gnat/tetris-machine
- Owner: gnat
- License: other
- Created: 2015-07-29T00:33:45.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-05-12T23:06:54.000Z (almost 6 years ago)
- Last Synced: 2025-03-28T20:37:26.242Z (about 1 month ago)
- Topics: c, game, game-development, opengl, sdl, tetris
- Language: C
- Homepage:
- Size: 1.5 MB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tetris Machine
### A 3D remake of Alexey Pajitnov's classic "Tetris" from 1985.Tetris Machine is written in pure ANSI C using OpenGL API for 3D graphics, and SDL for input and sound. It features a clean, commented source code that can be used as a resource for learning how to program video games in C. Makefiles for Linux and Windows included.
All code and graphics created by Nathaniel Sabanski (http://natpixels.com)
## Gameplay Tips
Points multiply for clearing more than 1 row at a time. Large bonus for clearing 4 rows at a time (Pajitnov calls this a "Tetris"). See how many "Wanted Stars" you can get. If you manage to survive long enough, you may get to see the special Pepperidge Farms ending.*
* There really is no "Pepperidge Farms" ending.