"Whack-a-Mole: Mario Version" is an engaging and interactive browser-based game inspired by the classic arcade game "Whack-a-Mole." In this Mario-themed adaptation, players must quickly react to moles and piranha plants popping up from different tiles on the game board. The objective is to "whack" the moles for points while avoiding the piranha plants that end the game when clicked.
- Random Tile Selection: Moles and piranha plants appear randomly in any of the 9 tiles.
- Score Tracking: The player's score is displayed and updated in real-time based on successful whacks.
- Game Over Condition: The game ends immediately if a player clicks on a piranha plant.
- Restart Option: Players can restart the game to try for a higher score without refreshing the page.
- Start the Game: The game starts automatically once the page loads.
- Whack the Moles: Click on the tiles to whack the moles as they appear. Each mole whacked increases the score by 10 points.
- Avoid Piranha Plants: Be cautious not to click on piranha plants. Clicking on a piranha plant will end the game.
- Track Your Score: Your current score is displayed at the top of the game board.
- Restart the Game: Click the "Restart" button to reset the game, clear the board, and try for a new high score.