Skip to content

aoge2716/First-JS-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PROJECT BEAT IT

Welcome to my first JS game! HEAD TO THE GAME

  • Description

    • In the game you will play as a knight going around fighting all the enemies
    • The goal is to kill all the enemy
      perfect hit
    • Each enemy and player has the same amount of 2 lives
    • Every time you land a perfect on the enemy you will gain one health
      perfect hit
    • normal hit will cut one life from the enemy
      perfect hit
    • miss will cut one life from the player
      perfect hit
    • getting a chest will give player one extra life
      perfect hit
  • Instruction

    • In the starting page you will be asked to enter mapsize and the enemy spawnrate
      Screenshot of the start page
      • Map Height: max amount of tiles in a column for the map
      • Map Width: max amount of tiles in a column for the map
      • SpawnRate: The probability (%) that an enemy will spawn on an empty tile when the game starts.
        • The total number of enemies cannot exceed 50% of the total tiles on the map.
        • A higher spawn rate means more enemies, but the limit is still half of the map size.
      • Heres an example of a 4x4 map with 20% spawn rate
        Screenshot of the start page
    • Player has to move the arrow key to go around the map.
    • Fighting will be triggered when player walks into a tile with enemy
      Screenshot of the start page
      • Player have hit the space bar when the red mark is on the green mark

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published