Allegro.cc
Projects
Action252
Adventure22
Arcade216
Board Games30
Demos24
Emulators10
Other68
Puzzle139
Role Playing40
Sports25
Strategy58
Utilities46
Resource Directory
Code Gallery3
Compilers12
Help & Documents13
Libraries63
Media2
Tools8
Downloading 20_Lines.dmg

20_Lines.dmg

File details: OS X Binary & Source Code

File Size: 1.33 MB

The file should begin downloading shortly. If not, click here.


About 20 Lines: A simple Tetris game written for the "Allegro Game in 20 Lines" competition. The rules stated that the source code could contain no more than 20 semi-colons. I ended up with 16 lines...

See <http://www.allegro.cc/forums/thread/237297>.

(Note that the included binary is compiled with an unstable 4.3 branch and I think that is responsible for the pieces not lining up properly...)

About the developer: I'm twenty-nine years old and work as a self-employed web programmer / consultant for a variety of clients. I've developed several commercial websites along with some for private Intranets. And, of course, I am your friendly Allegro.cc host.


Screenshots
20-lines.png
20-lines.png
Public Opinion
Overall Rating: 9.0
  • 9Man.. that's hilarious (the code)
  • 9In this case, the source code is more interesting than the game.