This is a clone of the game Frogger coded using object-oriented JavaScript and a built-in game engine.
You can play the game here. To run this game locally, clone or download the game using this link and run index.html on any browser. You must have arrow keys on your device to play.
Your goal is to reach the water while avoiding the bugs moving across the road. You use the arrow keys to control the player. Reaching the water will score you points, but colliding into a bug will reset the score and send the player back to the start.