Skip to content

This is a game project created only using web-element with the help of clever JavaScript vector graphic scripting. Library used - Paper.js

Notifications You must be signed in to change notification settings

404Kartik/Hit-the-Ball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hit the Ball

Hit the ball is a web based game where in you have to shoot the randomly generated number.

Technologies used to build

The following technologies were used to make this web game possible paper.js howler.js javascript html css

How the game works?

  • Step 1 The script randomly generates a number smaller than 1,000
  • Step 2 The number is placed anywhere on the canvas over the HTML
  • Step 3 - The player has to use arrow keys to move the shooter and the spacebar to shoot the randomly generated, randomly placed number
  • Step 4 - The number starts to move to another randomly generated position and starts to decrease as well

Concept

The player has to hit the rand number as soon as possible to gain more points. The more the delay the player does to hit the number with the shooter he will recieve lesser points.

The goal is to hit it super fast to gain most points.

How to play?

  • Clone the repo
  • Open the index.html
  • Use the arrow keys to move and space bar to shoot

About

This is a game project created only using web-element with the help of clever JavaScript vector graphic scripting. Library used - Paper.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published