![endif]-->

MinorHack

MinorHack is the 1-hour game programming competition where contestants program a game in 1 hour or less using Allegro and C/C++. Check out the competitions scheduled, and take a look at the bonus rules page. Also, you can add your own rule, if you want. We look forward to seeing you participate at the forums at Allegro.cc!

Rules

There are only 2 rules in MinorHack:

  • Your entire entry must be only 1 source file. You may load the source file (__FILE__), or your executable file, or even any other file if you can locate one on the target computer as you wish, but may not pack in extra graphics, sound, or other media files.
  • The bonus rule. The rule selector will select one rule from the bonus rules page. Your game must follow this rule.

In addition to the above, try to follow these guidelines. They are not a rules, but if you do not follow them, you run the risk of not having your game judged.

  • Only use your compiler's libraries and Allegro. Nothing says you have to use C or C++, or that you can't use Allegro GL or Direct X, but if you want your game to be judged, you should only use the standard C library, the standard C++ library, and Allegro. At the very least, make sure it compiles in both Windows and Linux.
  • Do not reuse code. Write all of your code yourself, during the 1-hour slot. Code reuse is fine for longer competitions where you often spend 6-10 hours rewriting something that you have coded before, but here you are unlikely to spend more than 15 minutes on it. Also, writing from scratch boosts creativity because there is no temptation to use large chunks of other games.

Future Plans

Some ideas I have about the future for the site:

  • Add judging page using Borda
  • Add a forum interface to allow discussion on a competition (each competition is a thread)
  • Add rules voting and only allow "good" rules to be selected for competitions

Site Credits