Loading repository data…
Loading repository data…
dianavile / repository
Build a Classic Arcade Game - 2D Canvas (project 4)- UNDER CONTRUCTION
Clone this project and open the index.html file in your browser, or click the link in the Project description.
Play the ArcadeGame.

In order to let the game work properly, the following requirements need to be met:
PlayerEnemy.Enemy function, which initiates the Enemy by:this.sprite to appropriate image in image folder (provided)initial location of the Enemy (TODO)Enemy speed (TODO)update method for the EnemyUpdate location of the Enemycollision with the PlayerEnemy methods if neededarrowkeys.(up, right, down and left)collide into an enemy.Player class. Use the Enemy class as examplePlayer function, which initiates the Player by:this.sprite to appropriate img in image folderEnemy function as example to get startedPlayer initial locationupdate method for the Player. Use Enemy function code as examplerender method method for the Player. Use the Enemy Render method code as examplehandleInput methodplayer cannot move off screen (check it and handle appropriately)own Player methods if neededplayer and enemy collide, game will reset.
*Game End:player reached the water, the player wins the game.player back to the initial location (separate reset Player method to handle).In addition to the basic Game functionality, I will add the following additional Game features:
gems to the game.player to collect gems.= Create player/gemcollision to collect gems.lives=hearts, so player can win/lose his life.Udacity starterscode.No known bugs, except for the ones on the screen.
No pull requests are accepted.
called allEnemies[]