DBrickTris was coded in about a weekend’s worth of spare time, and represents my first attempt at a graphical game. As such, it should not be used as an example of the correct way (or even a passable way) to code a game.


Shift left/right -> Arrow left/right
Rotate left/right -> Arrow up / Numpad 0
Drop block -> Arrow down
End game -> Enter
Start new game -> Space

Download / Source

Executable Package (Windows)
Full Source Package

Note: The full source package includes the source code along with the eclipse project file. The libraries included will need to be downloaded seperately if a compile is being performed on a platform other than windows.


Screenshot 1 of DBrickTris



  • C++


  • Simple DirectMedia Layer Library
  • SDL_Image
  • SDL_Mixer


  • Eclipse Development Environment

Additional Credits

Music was generously provided by Chris Liu.

Special thanks also goes out to my beta testers:
Mat “EpicFlash” Lambert
Stephen “D’Markus” Mariani


This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

© 2011 The Craig Repository Suffusion theme by Sayontan Sinha