A pixel perfect collision javascript game engine for retro games