top of page

WHAC-A-MOLE

Class: Digital Logic Design

Year: Spring 2016

GOAL: create an arcade game using only basic logic gates to "program" the game logic.

FEATURES:

  • 'Timed' and 'Endless' game modes

  • ​ High score counter​

  •  Difficulty scaling with score

    • Multiple "moles" start popping up at once​

    • Moles start popping up faster

PROTOTYPE VIDEO / FINAL VIDEO

CLICK for video. HOVER for sound.

TECHNICAL DETAILS

DESIGN PROCESS:

After deciding on the game rules, the necessary subsystems were designed and built individually. Before building each circuit, the logic was simulated using Logisim to test the functionality.

​

SUBSYSTEMS:

The main subsystems include:

  • The pseudorandom number generator, which would pick which "moles" (e.g. pushbuttons) to light up each round.

  • The "moles" themselves. The logic needed to light up the buttons in response to the pseudorandom generator, as well as detect "correct" and "incorrect" hits depending on the state of the light when the button is pressed.

  • The score counter, which takes inputs from each mole to determine whether to increment or decrement the score on each hit.​​

  • The game timer, which refreshes the score counter and resets all the chips for a new game. Also includes a visual display.

  • The mode selector, which switches the logic between "timed" and "endless" game modes.

  • The sound board, which played different sounds for "hits" and "misses".

  • The difficulty adjuster, which increases the game speed with the player's score, and eventually allows multiple "moles" to light up at once, past a certain score threshold.

bottom of page