Shivam-Sharma-1 / Spooky-Run

"Spooky Run" is a web based 2D arcade style game that allows players to play as a lost dog finding its way back home through a spooky forest. The game is built using vanilla JavaScript and utilizes HTML5 and the `canvas` element to render graphics and handle user input.

Home Page:https://shivam-sharma-1.github.io/Spooky-Run/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool



Spooky Run

"Spooky Run" is a web based 2D arcade style game that allows players to play as a lost dog finding its way back home through a spooky forest. The game is built using vanilla JavaScript and utilizes HTML5 and the canvas element to render graphics and handle user input. Players can attack various monsters using different techniques and score points. The game also includes magic element which allows the player to perform rolling fire attack. Optimization techniques were used to ensure smooth performance on desktop computers. Overall, "Spooky Run" offers a rich and stable gameplay experience for fans of arcade style games.

Game objective

In this game, the player's aim is to achieve a score of over 30 in order to win. The player starts with five lives, but each time they are hit by a monster, they lose one life. The game features three types of enemies, each worth a different amount of points: flying enemies are worth one point, ground enemies are worth two points, and climbing enemies are worth three points. However, if a monster manages to exit the left side of the screen, one point is deducted from the player's score.

Screenshots

App Screenshot1 App Screenshot2 App Screenshot3 App Screenshot4 App Screenshot5

Technologies used

  • HTML
  • CSS
  • JavaScript

Features

  • Instructions page
  • Multi control keys
  • Interactive gameplay
  • Variety of audio and visual effects
  • Debug mode by pressing I key
  • Floating animation of scores
  • Variety of enemies
  • Different scores earned on killing different types of monsters
  • Win and defeat screens
  • Scores mechanic
  • Energy mechanic
  • Fullscreen mode

Run Locally

Clone the project

  git clone https://github.com/Shivam-Sharma-1/Spooky-Run.git

Go to the project directory

  cd Spooky-Run

Start the server

Open the project and click to Go Live from the status bar to turn the server on/off. live server

Usage

To play the game, follow these steps:

  • Read the controls instructions given in the instructions page.
  • Click on Enter to start the game.
  • The objective of the player is to score above 30 to win the game.
  • After you win or lose click on Shift to restart the game.
  • The FULLSCREEN MODE button on the screen can be clicked to enter fullscreen mode.

Website hosted URL

This website is deployed using Github Pages
Website url: https://shivam-sharma-1.github.io/Spooky-Run/

Contributing

Contributions are always welcome!
If you would like to contribute to this project, please fork the repository and create a pull request.

Authors

Acknowledgements

Read more

About

"Spooky Run" is a web based 2D arcade style game that allows players to play as a lost dog finding its way back home through a spooky forest. The game is built using vanilla JavaScript and utilizes HTML5 and the `canvas` element to render graphics and handle user input.

https://shivam-sharma-1.github.io/Spooky-Run/


Languages

Language:JavaScript 89.6%Language:HTML 7.4%Language:CSS 3.0%