Frogger Project
I recreated the frogger game with my own gamemodes!

In my Intro to Computer Science course, we started developing games using Canvas. Our first project was recreating Frogger, where we were required to implement the essentials: a lives system, functional logs, moving cars, and a win condition.
When you open my game, you’re greeted with the Frogger logo, the text "Press S to Play!", and an indication of the currently selected game mode.

Before the game begins, a 5-second countdown will be displayed, giving players a brief warning before the game starts.

Once the game begins, you'll see two cars, one log, and a train that periodically crosses the screen every 5 seconds, accompanied by a warning horn to alert you. As you navigate through the obstacles, your goal is to avoid being hit by the cars. Successfully reaching the other side without losing all your lives will allow you to progress to the next level, where the challenges increase with faster-moving cars and more frequent trains.
I’ve also included two additional modes for added variety. The Endless Mode lets you play indefinitely, pushing you to keep going until you run out of lives. Each level gets progressively harder with faster cars. The second mode, Timer, sets a 60-second countdown, and your goal is to get through as many levels as possible before time runs out. In this mode, there are no lives, so it's all about speed and precision.