Skip to content

Whack-A-Mole is a rendition of the classic whack-a-mole game at the arcade. This game consists of 3 buttons which will light up, prompting the player to press them at the same time. The 7-segment display updates the score upon each successful button press.

Notifications You must be signed in to change notification settings

qianxi5/50.002_Whack_A_Mole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 

Repository files navigation

Team 11-4 Computational Structures 1D Arcade Game: Whack-a-Mole!

Started with these constraints we set for ourselves:

  • a few physical buttons
  • makes use of an arithmetic logic that has a boolean, addition, comparison and multiplier function
  • these buttons each contain a built-in led, which will light up, signalling the user to press. more than 1 button can light up together

Ended up with a rendition of the classic "whack-a-mole game" which has 3 buttons to be pressed around the same time when they light up.

Technical Decisions:

  • Creating our own debugging system: As logic synthesis took a minimum of 5mins, we had to write a significant amount before testing so we can save time. Batching our test cases together helped reduce the number of "compilations" required and hence save time, but the tradeoff was that we had to pay more attention to the organisation of our test cases, ensure that we know exactly which physical signs corresponded to which test cases. For instance, we used the IO shield LEDs and switches to indicate 3 things: state change, data stored in respective dffs(toggled using the respective switches) and errors.
  • Elimination of the memory unit as a separate module: Our memory DFFs were few and did not require the memory unit to be designed as a separate module from the CPU/State Machine Logic Module, as reflected in the traditional Von Neumann architecture. As a result, we simply included the DFFs in our state logic module, but we had to pay more attention to write proper documentation for ease of understanding in interested parties.

Demo Video https://youtu.be/sdvAechiJY8

Poster: https://drive.google.com/file/d/1UuOS87qzjrTP-6CcQXGUguxykgBd-fJC/view?usp=sharing

About

Whack-A-Mole is a rendition of the classic whack-a-mole game at the arcade. This game consists of 3 buttons which will light up, prompting the player to press them at the same time. The 7-segment display updates the score upon each successful button press.

Resources

Stars

Watchers

Forks

Packages

No packages published