https://github.com/machinelearningprodigy/obstacle-fighter
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.
https://github.com/machinelearningprodigy/obstacle-fighter
css3 html5 javascript vercel-deployment
Last synced: about 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/machinelearningprodigy/obstacle-fighter
- Owner: machinelearningprodigy
- Created: 2024-08-01T03:12:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-27T07:12:22.000Z (over 1 year ago)
- Last Synced: 2025-03-27T06:32:15.212Z (about 1 year ago)
- Topics: css3, html5, javascript, vercel-deployment
- Language: JavaScript
- Homepage: https://obstacle-fighter.vercel.app
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# đŽ 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:
```sh
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.