This game is a project from the Front End Web Developer nanodegree by Udacity.
Catgirl is not like those cats that hate water, she wants to cross the stoned path so she can finally go for a swim at the lake. So all you need to do is get Catgirl to the water and you win the game. But beware the bugs! They are Catgirl's mortal enemies and you can't touch them at all or you lose!
So, to sum it up:
- Get to the water
- Don't touch the bugs
Classic arcade game clone https://www.youtube.com/embed/kaifTslArtY
# Introduction
An HTML5 Canvas powered video game, developed using the best practices in Object Oriented JavaScript.
-
Moving player (left, right, up or down) by using arrow key on the keyboard against any enemy.
-
If player have a collision with an enemy, the player will be back to a default position (at the bottom of game screen), and a point will be decreased.
-
If player reach the top of the game screen without any enemy's collision, the player will have a point.
-
Default 10-points are bonus at the beginning
-
When player arrives to Gem at the top without any enemy's collision, energy will be dramatically increased, blood will be filled until staying there without any enemy.
-
Create class of 'Contestant' Both Enemy and Player are Contestant, they have same method of 'render'
-
Declare global variables at the top
- update
- handleInput
- Create a class of Gem and its method. Render two Images Gem and blood when player coming that position.
- Create allEnemies as array of object of class Enemy
- All enemy objects in an array called 'allEnemies'
- All enemies have their own random positions and speeds running the screen.