Guac-A-Mole is a game where the objective is to make enough guacamole for a party you have been invited to. To do this a mallet that will be used to smash avocados in a whac-a-mole manner. The player loses when they have missed five avocados. The player wins when they collect the required amount of avocados in the given time and have at least one life remaining.
- game has a mallet cursor
- avocados spawn randomly on the grid
- you win by collecting the required amount of avocados as possible during the time alloted.
- time countdown
- missing an avocado will make you lose a "life"
- if you lose all five lives, you lose the game
- increased difficulty levels
- Randomise ingredients
- Add health-bar
- buildSplashScreen () {}
- buildGameScreen () {}
- buildGameOverScreen () {}
- buildWinScreen () {}
- Game () {}
- starLoop () {}
- checkCollisions () {}
- addTentacle () {}
- clearCanvas () {}
- updateCanvas () {}
- drawCanvas () {}
- GameOver () {}
- splashScreen
- gameScreen
- gameoverScreen
- winScreen
- main - buildDom
- main - buildSplashScreen
- main - addEventListener
- main - buildGameScreen
- main - buildGameOverScreen
- main - buildWinScreen
- main - changeCursor
- game - startLoop
- game - addAvocado
- game - checkScore
- game - timeLeft
- game - addEventListener