All Projects â†’ dashed â†’ Tetris Sdl C

dashed / Tetris Sdl C

Licence: mit
🕹ī¸ A toy project implementing a simple tetris clone in C for learning SDL 2.x.

Programming Languages

c
50402 projects - #5 most used programming language

Labels

Projects that are alternatives of or similar to Tetris Sdl C

Nothing
A simple platformer about nothing
Stars: ✭ 249 (+315%)
Mutual labels:  game, sdl2
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
Dino Rush
🌋 Endless runner game
Stars: ✭ 173 (+188.33%)
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
Engine
A basic cross-platform 3D game engine
Stars: ✭ 208 (+246.67%)
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
Mir2x
open source MMORPG game
Stars: ✭ 118 (+96.67%)
Mutual labels:  game, sdl2
Teeworlds
A retro multiplayer shooter
Stars: ✭ 1,712 (+2753.33%)
Mutual labels:  game, sdl2
Cdogs Sdl
Classic overhead run-and-gun game
Stars: ✭ 422 (+603.33%)
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

  1. Install SDL 2.x (www.libsdl.org) in UNIX style; something like ./configure && make && make install.

    Also you'll need:

    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
    
  2. make to create tetris_toy

  3. ./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

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].