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.
- ๐๏ธ 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.
- Open
index.htmlin a web browser ๐. - Click
Start Gameโถ๏ธ to begin. - Use arrow keys โฌ๏ธโฌ๏ธโฌ ๏ธโก๏ธ or WASD ๐ฎ to move.
- Avoid red obstacles โ and survive as long as possible โณ.
- Use the pause button โธ๏ธ to take a break.
- Select difficulty from the main menu โ๏ธ.
- Clone the repository:
git clone https://github.com/machinelearningprodigy/Obstacle-Fighter.git
- Open the project folder and run
index.htmlin a web browser ๐.
index.html- Main structure of the game.styles.css- Styling for the game UI ๐จ.script.js- Game logic and event handling ๐ฅ๏ธ.
- ๐ Add sound effects and background music.
- ๐จ Improve graphics and animations.
- ๐ Implement a scoring system.
This project is licensed under the MIT License.