dashed / Tetris Sdl C
Licence: mit
đšī¸ A toy project implementing a simple tetris clone in C for learning SDL 2.x.
Stars: â 60
Programming Languages
c
50402 projects - #5 most used programming language
Projects that are alternatives of or similar to Tetris Sdl C
Rigelengine
A modern re-implementation of the classic DOS game Duke Nukem II
Stars: â 393 (+555%)
Mutual labels: game, sdl2
Ja2 Stracciatella
The continuation of the venerable JA2-Stracciatella project.
Stars: â 258 (+330%)
Mutual labels: game, sdl2
Civone
An open source implementation of Sid Meier's Civilization.
Stars: â 176 (+193.33%)
Mutual labels: game, sdl2
Yh
a tech demo for a bullet hell game. for the full game visit https://gilmi.me/nyx
Stars: â 34 (-43.33%)
Mutual labels: game, sdl2
Vcmi
Open-source engine for Heroes of Might and Magic III
Stars: â 2,514 (+4090%)
Mutual labels: game, sdl2
Doomretro
The classic, refined DOOM source port. For Windows PC.
Stars: â 349 (+481.67%)
Mutual labels: game, sdl2
Openhow
Open-source reimplementation of Gremlin's Hogs of War (PC/PSX).
Stars: â 144 (+140%)
Mutual labels: game, sdl2
Openspades
Compatible client of Ace of Spades 0.75
Stars: â 769 (+1181.67%)
Mutual labels: game, sdl2
Openloco
An open source re-implementation of Chris Sawyer's Locomotion
Stars: â 504 (+740%)
Mutual labels: game, sdl2
Sundog
A port of the Atari ST game SunDog: Frozen Legacy (1984) by FTL software
Stars: â 42 (-30%)
Mutual labels: game, sdl2
Sourcehold
Open source re-implementation of Stronghold 1
Stars: â 152 (+153.33%)
Mutual labels: game, sdl2
Knightonline
OpenKO is an open source version of the old school Knight Online MMORPG
Stars: â 146 (+143.33%)
Mutual labels: game, sdl2
Vangers
The video game that combines elements of the racing and role-playing genres.
Stars: â 339 (+465%)
Mutual labels: game, sdl2
Cosmo Engine
A new game engine to play the MS-DOS game "Cosmo's Cosmic Adventure" on modern systems
Stars: â 38 (-36.67%)
Mutual labels: game, sdl2
tetris-sdl-c
A simple tetris game implemented in C using SDL 2.x. This is just a toy project to play with and learn SDL 2.x.
Demo on Snow Leopard OSX:
Demo on El Capitan OSX:
Install
-
Install SDL 2.x (www.libsdl.org) in UNIX style; something like
./configure && make && make install
.Also you'll need:
-
sdl2_ttf
: https://www.libsdl.org/projects/SDL_ttf/ -
sdl2_gfx
: http://cms.ferzkopp.net/index.php/software/13-sdl-gfx
On OSX (or macOS), you may use homebrew:
# As of Dec 2, 2017 brew install sdl2 # http://formulae.brew.sh/formula/sdl2_gfx brew install sdl2_gfx # http://formulae.brew.sh/formula/sdl2_ttf brew install sdl2_ttf
-
-
make
to createtetris_toy
-
./tetris_toy
Usage
-
Move tetromino with WASD keys or arrow keys.
-
Press
spacebar
for hard Tetromino drop. -
Press
r
to reset. -
Press
esc
to quit.
To Do
- Add wall kick
- Implement any other interesting mechanics listed in http://tetrisconcept.net/wiki/Main_Page
License
MIT.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].