A basic recreation of Pac-Man using JavaScript