Skip to content

Web Game is a simple browser-based game where players control a character using arrow keys or WASD to avoid obstacles and survive as long as possible. It features multiple difficulty levels, a pause/resume system, and an interactive menu for a fun and engaging experience.

Notifications You must be signed in to change notification settings

machinelearningprodigy/Obstacle-Fighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Web Game

๐ŸŒŸ Overview

This is a simple web-based game where players control a character using arrow keys โฌ†๏ธโฌ‡๏ธโฌ…๏ธโžก๏ธ or WASD ๐ŸŽฎ, avoiding obstacles and trying to survive as long as possible. The game features multiple difficulty levels, a pause/resume system, and an interactive menu.

๐Ÿ”ฅ Features

  • ๐ŸŽ›๏ธ Main Menu: Start the game, view instructions, and select difficulty levels.
  • ๐Ÿ“œ Instructions Page: Learn how to play the game.
  • โš™๏ธ Difficulty Levels: Choose between Easy ๐ŸŸข, Medium ๐ŸŸก, and Hard ๐Ÿ”ด.
  • ๐ŸŽฎ Game Controls: Pause โธ๏ธ, resume โ–ถ๏ธ, and return to the main menu ๐Ÿ .
  • ๐Ÿ’ก Dynamic UI: Different screens appear based on user actions.

๐Ÿ•น๏ธ How to Play

  1. Open index.html in a web browser ๐ŸŒ.
  2. Click Start Game โ–ถ๏ธ to begin.
  3. Use arrow keys โฌ†๏ธโฌ‡๏ธโฌ…๏ธโžก๏ธ or WASD ๐ŸŽฎ to move.
  4. Avoid red obstacles โŒ and survive as long as possible โณ.
  5. Use the pause button โธ๏ธ to take a break.
  6. Select difficulty from the main menu โš™๏ธ.

๐Ÿ› ๏ธ Installation

  1. Clone the repository:
    git clone https://github.com/machinelearningprodigy/Obstacle-Fighter.git
  2. Open the project folder and run index.html in a web browser ๐ŸŒ.

๐Ÿ“‚ Files

  • index.html - Main structure of the game.
  • styles.css - Styling for the game UI ๐ŸŽจ.
  • script.js - Game logic and event handling ๐Ÿ–ฅ๏ธ.

๐Ÿš€ Future Enhancements

  • ๐Ÿ”Š Add sound effects and background music.
  • ๐ŸŽจ Improve graphics and animations.
  • ๐Ÿ† Implement a scoring system.

๐Ÿ“œ License

This project is licensed under the MIT License.

About

Web Game is a simple browser-based game where players control a character using arrow keys or WASD to avoid obstacles and survive as long as possible. It features multiple difficulty levels, a pause/resume system, and an interactive menu for a fun and engaging experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published