This project is a simple 2D game named "JACK O LANTERN Game" created using HTML, CSS, and JavaScript. The game involves controlling a character to run, jump, and slide while avoiding obstacles to score points.
The game provides a spooky Halloween-themed experience where players control a character through various obstacles. The project includes HTML for the structure, CSS for styling, and JavaScript for game logic.
- Enter: Start the game.
- Space: Jump.
- Down Arrow: Slide.
- Open the
index.html
file in a web browser. - Press Enter to start the game.
- Use the controls to navigate the character and avoid obstacles.
- Score points as you successfully navigate through the game.
- Game over when the character collides with obstacles.
- index.html: Contains the HTML structure of the game, including controls and game elements.
- style.css: Provides styling for the game elements and layout.
- script.js: Implements the game logic, including character movement, obstacle generation, and scoring.
- Background Image: istockphoto (Replace with the actual source)
- Sound Effects: SoundBible (Replace with the actual source)
- Images (Run, Jump, Slide, Dead): Example Source (Replace with the actual source)
- Flames and Bats GIFs: Example Source (Replace with the actual source)
Feel free to contribute, report issues, or suggest improvements!