A "Whack-A-Mole" style game that's played on a Novation Launchpad. This project demonstrates hardware integration by utilizing the Launchpad's grid for interactive gameplay.
-
Objective: Hit the "moles" as they appear on the Launchpad grid.
-
Controls:
- Difficulty Selection:
- Button 1 (Green): Easy (Slowest speed, 32 possible points)
- Button 2 (Yellow): Medium (Medium speed, 48 possible points)
- Button 3 (Red): Hard (Fastest speed, 64 possible points)
- Start Game:
- Button 8 (Green): Begins the game with the selected difficulty.
- Note: If no difficulty is selected, the game defaults to Easy mode.
- Difficulty Selection:
-
Gameplay
- Lights on the Launchpad will light up, representing the "moles".
- Players will press the buttons as they light up. Each button successfully pressed before it goes out represents a successful "whack" and scores the player a point.
-
Scoring
- At the end of the game, the Launchpad will illuminate with one green light for each successfully "whacked" mole. Maximum scores are:
- Easy: 32 points
- Medium: 48 points
- Hard: 64 points
- At the end of the game, the Launchpad will illuminate with one green light for each successfully "whacked" mole. Maximum scores are:
-
Prerequisites:
- Java Development Kit (JDK) installed (Java 8 or higher)
- Novation Launchpad (currently tested with Launchpad Mini Mk. II)
- MIDI drivers and permissions configured on your system
-
Clone the Repository:
git clone https://github.com/JerryLeeMelton/Launchpad_Whack-A-Mole.git cd Launchpad_Whack-A-Mole -
Compile and Run:
- Open the project in your preferred IDE.
- Build the project.
- Run the
Mainclass located in:`src/com/jerryleemelton/lpwhackamole/Main.java`
- Java
- MIDI Integration
- Novation Launchpad
This project is open-source and available under the MIT License.