An intelligent agent playing asteroids; implemented using JavaScript and HTML5.