This is a great idea. My suggestion would be to make it into a MOOC. I think it would indeed work much better as a way of learning than a typical programming course, but there are some flaws:
- Normally if you are employed as a junior developer, you're going to get thrown in at the deep end, but you'll also have a bunch of senior developers and/or a mentor who will help you out if you get stuck.
- Different people will need different amounts of hints or hand-holding. For a complete beginner it would be helpful to actually get walked through some solutions (they don't solve anything themselves, just see how it's done) but for someone with a bit more experience that would be counter-productive.
I think the ideal format would be to make each "story" be a story (or use-case) in the agile requirements sense, that students need to implement. Then you can have a collection of hints available for each story, which if revealed will reduce the number of points available for that story.
Students can also confer on the forums, etc., so the more advanced ones can help out the complete beginners. This actually helps both parties learn, so it's not "cheating" (although copying & pasting answers from forums is).
If you want to include grading then peer grading should work, although it can be a bit tricky. For something like this, I would imagine it could just be based on participation only (no certificate). Everyone should end up with a unique implementation of the game as the main output anyway.
Also, ignore the inevitable negativity about JavaScript. For beginner/intermediate level developers this is aimed at (not necessarily just game developers), JavaScript is an ideal choice for a whole host of reasons.
Starting point:
http://moocnewsandreviews.com/building-your-own-online-class...