The problem I've found with pygame is that the time from starting to producing a playable game is too long, the kids get frustrated and lose interest when you need to type 20-40 lines of boiler plate to just get an image and a moving character on the screen before anything even happens. I've had much greater success with "boring" projects that produce the final result in 10-20 lines.
They already have games that we'll never be able to come close to in terms of quality. There's nothing that I can make in even 20 hours that is even close to as interesting as Minecraft or a high budget xbox game - there is effectively a very small difference to them between building a game with "boring" dynamics and solving math problems.
This mostly only applies to first projects, once you complete a few projects and have separated out the children who actually enjoy programming - that's when you can start doing multi-week epics. But you need to build confidence and give them some easy "wins" before you are going to be able to do that in my experience.
But for kids today, I see these problems:
- Haven't seen anything that gives the simplicity and ease of use for graphics that my old Spectrum had. This is what pygame should be providing, but I agree with you that it is actually pretty disappointing in this regard; I find its API a bit cumbersome and nonintuitive, although others' mileage may vary.
- Modern 3D games set the bar very high, and it's difficult to get kids to understand that they need to aim much lower to get going. And whereas the maths required to write a 2D game is pretty basic first principles stuff, 3D is a whole discipline that needs to be learned.
- Scratch is fun, but very limiting and, if you have a lot of stuff going on, really unplayably slow. My daughter has fun doing little animations in it, but it needs a better object system IMO in order to be able to allow users to push on with it.
The boiler plate should just be hidden away if possible.
I think a small coding exercise that kids would like is something that automatically solves their simple algebra homework. Although, do 12 year olds just go on wolframalpha now?
I don't think recursive tree algorithms and reverse Polish notation, the bedrock of computer algebra systems, would be so much fun to kids. Could you elaborate on what you had in mind?
Some stuff kids would enjoy more: https://inventwithpython.com/ http://www.amazon.com/Python-Kids-Playful-Introduction-Progr...