Interesting toys for learning
Play Simple Canvas Game and investigate its source code. It's about two pages of JavaScript with detailed explanations.
Space Mahjong a simple Card Game (there's no dedicated repository for sources, but you can see it in the browser).