A basic Pac-Man recreation built with JavaScript