The challenge is simple: a developer simply builds in 2 hours or less a simple application (either Web, command line, mobile, etc..) and publishes it on GitHub.
That's it. That's the whole challenge. So, what are you doing for the next 2 hours?
Two years later, Martin-Pierre thought: why not make it a challenge: try to build simple web applications in only 2 hours.
The rules of the challenge
Even if all you win is some self-respect, there needs to be rules for any challenges. Here are the simple rules.
IT HAS TO BE YOURS- It may sound idiot to say it, but the main code needs to be original. You can't take a tutorial and just change a few values.
IT HAS TO BE DIFFERENT - The goal is to challenge yourself, so for your first challenge, do whatever you want, but for future challenges: be original and do something different than your first one. Try a different language, a different framework. You could rewrite the same app in different ways, provides the ways are different enough.
IT HAS TO BE RAW - You have 2 hours. It's not going to be a masterpiece, it's not going to be a massive system. Keep is simple, clean, easy to read.
We recommend that you put in your readme file that you did the project as part of the 2 hour coding challenge, so that people seeing your code realize it was done that quickly!
What counts in your two hours?
Can you take pauses? Can you read documentation? Yes! Here are the guidelines:
YOU CAN PLAN AHEAD - If you need to install a framework, prepare your environments, create your vanilla strucutre, that doesn't count in your two hours.
THE 2 HOURS IS ONLY FOR PRIMARY DEVELOPMENT - If you need to take a pause to research an API you are calling, the clock is paused. If you get a phone call, the clock is paused. What matters is the time you are actually "coding",
YOU CAN COMMENT, DOCUMENT AND FIX BUGS AFTERWARDS - Once you are done with the primary development, the challenge is a success if it kind of works. You might return to it to fix a minor issue, and you might want to add comments or indent properly: that's fine.
What can YOU do in 2 hours?
Many quotes are on a per-day basis. Others are on a 1/2 day basis. This challege is about 1/4 of a day!
Who is behind this?
This project is an idea by Martin-Pierre Frenette, a senior PHP developer from Montreal, Canada.