Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frog Game

Description

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.

Features

  • 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.

Getting Started

Prerequisites

  • A modern web browser (Chrome, Firefox, Safari, etc.)
  • Basic understanding of JavaScript and HTML

Installation

  1. Clone the repository:
    git clone https://github.com/JaydenProgram/frogformer.git
  2. Navigate to the project directory:
    cd frogformer
  3. Open index.html in your web browser.

How to Play

  1. Press Enter to start the game from the main menu.
  2. Use the Space key to jump.
  3. Avoid the spikes and aim to land on trampolines for extra points.
  4. Try to beat your high score!

Controls

  • Enter: Start the game or restart after a game over.
  • Space: Jump.

Game Development

This game was developed using HTML, CSS, and JavaScript, leveraging the HTML5 canvas for rendering graphics and animations.

Game Loop

The game loop is controlled using requestAnimationFrame, ensuring smooth rendering and responsive gameplay.

Local Storage

Scores are tracked using the browser's local storage, allowing players to see their highest scores even after refreshing the page.

Contributing

Contributions are welcome! Feel free to submit a pull request or open an issue for any bugs or enhancements.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

Game where you jump over obstacles as a frog

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages