Here are some sample games to get you started.
By @stenington
Uses the Coquette library. 200 lines of hackable, documented JavaScript.
Remix in JS BinWe're always looking for new games to add to this list. If you make one, just tweet a link to @toolness and he'll add it. Alternatively, you can edit this file and submit a pull request.