a simple game in javascript, uses crafty.js