Skip to content

🔨 🥑 Guac-A-Mole is a game I have built, where the objective is to use a mallet to smash avocados in a whac-a-mole manner so you can make guacamole for a party you've been invited to. 🥑 🔨

Notifications You must be signed in to change notification settings

JesseVermeulen123/Guac-A-Mole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guac-A-Mole

Play it here!

Description

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.

MVP

  • 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

Backlog

  • Randomise ingredients
  • Add health-bar

Data structure

main.js

  • buildSplashScreen () {}
  • buildGameScreen () {}
  • buildGameOverScreen () {}
  • buildWinScreen () {}

game.js

  • Game () {}
  • starLoop () {}
  • checkCollisions () {}
  • addTentacle () {}
  • clearCanvas () {}
  • updateCanvas () {}
  • drawCanvas () {}
  • GameOver () {}

States y States Transitions

  • splashScreen
  • gameScreen
  • gameoverScreen
  • winScreen

Task

  • main - buildDom
  • main - buildSplashScreen
  • main - addEventListener
  • main - buildGameScreen
  • main - buildGameOverScreen
  • main - buildWinScreen
  • main - changeCursor
  • game - startLoop
  • game - addAvocado
  • game - checkScore
  • game - timeLeft
  • game - addEventListener

Trello (Actually GitHub Project)

Guac-A-Mole Project

Slides

Guac-A-Mole Presentation

About

🔨 🥑 Guac-A-Mole is a game I have built, where the objective is to use a mallet to smash avocados in a whac-a-mole manner so you can make guacamole for a party you've been invited to. 🥑 🔨

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published