Skip to content

This project is a simple 2D game named "JACK O LANTERN Game" created using HTML, CSS, and JavaScript.

Notifications You must be signed in to change notification settings

OshanEranga/Jack_O_Lantern_2D_javascript_Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Jack O Lantern 2D Game

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.

Table of Contents

Introduction

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.

Game Controls

  • Enter: Start the game.
  • Space: Jump.
  • Down Arrow: Slide.

How to Play

  1. Open the index.html file in a web browser.
  2. Press Enter to start the game.
  3. Use the controls to navigate the character and avoid obstacles.
  4. Score points as you successfully navigate through the game.
  5. Game over when the character collides with obstacles.

Project Structure

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

Credits

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

About

This project is a simple 2D game named "JACK O LANTERN Game" created using HTML, CSS, and JavaScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published