Final Project

Inspiration:

My inspiration came from this gif I saw a while back and thought it was super cute.

I wound up with almost my full vision for the game, except for a few things. My game consists of a timed whack-a-mole style game where the holes become active randomly while a timer counts down from 30 seconds while the number of missed “whacks” are recorded and reset after 30 seconds. Additionally, I included a level counter which goes up after missing less than four whacks after 30 seconds, else, it resets back to one.

I originally wanted a whack-a-kitty game with two timers, one to pre-countdown to let the player prepare, and the other to go off after the countdown when the game begins. I also wanted the game to get harder ad the levels went up, but didn’t have enough time to implement that. I put in code to have sound effects, but I could not seem to find the sound library to put into openprocessing.

Final Code:

DISCLAIMER: NO KITTIES WERE HURT IN THE MAKING OF THIS GAME

Final Project Outline

My project is a game of “wack a mole” using processing. To achieve this, my code will basically be a giant loop. The logic of the game will depend around three main classes:

  1. Score: missed, time, round
  2. Holes
  3. Hammer

The goal for this first part is to have the “Hole” Boolean controlled based on “time”, “Hammer” and have it be true or false for a number of seconds chosen at random from within an interval each time.

Ultimately, I would like to link the first part to score keeping and timed intervals using loops. See the image for more logic detail.