- play the game
- read the original article
- read a follow up article about adding monsters and treasure
- view the source
Just a sinple example of how to have a tiny rectangle run around some rectangle platforms, collecting rectangular gold and avoiding rectangular monsters.
Should work in any modern browser with canvas support