Coin-Collector is a game about collectiong two types of coins which falling from top to bottom. There are two things the player need to be careful. One is devils and the other is rocks. When you can't avoid the rock, you are automatically GAME OVER.
The game score is calculated how many coins you got and how many times hit the devils. The gold coin is +50 points, the silver coins is +30 points and when you hit the devils, you lose -10 points.
- There are two types of coins.
- Player can move and jump.
- There are two enemies to disturb your score.
- When you hit the rock enemiy, the game is over.
- Compete final score.
Right arrow key => Move right forward Left arrow key => Move left forward Up arrow key => Jump
- draw()
- initial()
- resetGame()
- hideMain()
- showGame()
- showGameover()
- startGame()
- restartGame()
- splashScreen
- gameScreen
- gameoverScreen
Developed this game during a first project week at a coding bootcamp Ironhack. Link to the game
