Frog Game is a fun, interactive web-based platformer where players control a frog, navigating obstacles, jumping on trampolines, and trying to achieve the highest score possible. With engaging graphics and smooth gameplay, it offers an enjoyable experience for players of all ages.
- Jumping Mechanics: Players can jump and double jump to navigate platforms and avoid spikes.
- Infinite Scrolling: The game features an infinite scrolling floor that creates a dynamic environment.
- Obstacles: Various obstacles including spikes and trampolines challenge players and affect their score.
- High Score Tracking: Scores are saved locally, allowing players to track their best performance.
- Responsive Design: The game adapts to different screen sizes, making it playable on various devices.
- A modern web browser (Chrome, Firefox, Safari, etc.)
- Basic understanding of JavaScript and HTML
- Clone the repository:
git clone https://github.com/JaydenProgram/frogformer.git
- Navigate to the project directory:
cd frogformer - Open
index.htmlin your web browser.
- Press Enter to start the game from the main menu.
- Use the Space key to jump.
- Avoid the spikes and aim to land on trampolines for extra points.
- Try to beat your high score!
- Enter: Start the game or restart after a game over.
- Space: Jump.
This game was developed using HTML, CSS, and JavaScript, leveraging the HTML5 canvas for rendering graphics and animations.
The game loop is controlled using requestAnimationFrame, ensuring smooth rendering and responsive gameplay.
Scores are tracked using the browser's local storage, allowing players to see their highest scores even after refreshing the page.
Contributions are welcome! Feel free to submit a pull request or open an issue for any bugs or enhancements.
This project is licensed under the MIT License. See the LICENSE file for details.