Pinball game engine for the browser