{"id":21064575,"url":"https://github.com/christopheralphonse/whackamole_java","last_synced_at":"2025-03-14T01:32:21.754Z","repository":{"id":213890731,"uuid":"735185008","full_name":"ChristopherAlphonse/whackAMole_Java","owner":"ChristopherAlphonse","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-30T04:31:23.000Z","size":2512,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T20:52:01.302Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChristopherAlphonse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-24T01:04:32.000Z","updated_at":"2023-12-24T01:06:12.000Z","dependencies_parsed_at":"2023-12-30T05:23:11.234Z","dependency_job_id":"38e2ea50-2574-41c6-80e0-7b57c06e98fb","html_url":"https://github.com/ChristopherAlphonse/whackAMole_Java","commit_stats":null,"previous_names":["christopheralphonse/whackamole_java"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChristopherAlphonse%2FwhackAMole_Java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChristopherAlphonse%2FwhackAMole_Java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChristopherAlphonse%2FwhackAMole_Java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChristopherAlphonse%2FwhackAMole_Java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChristopherAlphonse","download_url":"https://codeload.github.com/ChristopherAlphonse/whackAMole_Java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243507575,"owners_count":20301864,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T17:50:05.041Z","updated_at":"2025-03-14T01:32:21.712Z","avatar_url":"https://github.com/ChristopherAlphonse.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Whack-A-Mole - Mario Edition\n\n## Overview\nWhack-A-Mole is a classic game with a Mario twist, where players aim to hit the popping Moles while avoiding hitting Piranha Plants. The game features a graphical user interface (GUI) built using Java Swing and utilizes audio feedback for a more immersive experience.\n\n## Features\n- 🌟 Mario-themed Whack-A-Mole game.\n- 🌟 Score tracking for successful hits.\n- 🌟 Audio feedback for wins and losses.\n- 🌟 Adjustable difficulty with timer speed control.\n- 🌟 Restart option for a new game.\n\n## How to Run\n1. 🌟 Clone or download the project from the GitHub repository.\n2. 🌟 Open the project in your preferred Java development environment.\n3. 🌟 Run the `WhackAMole` class to start the game.\n\n## Gameplay\n- 🌟 Moles and Piranha Plants pop up randomly on the game board.\n- 🌟 Click on Moles to score points. Avoid clicking on Piranha Plants.\n- 🌟 Use the buttons to adjust the game's difficulty by changing the timer speed.\n- 🌟 Restart the game at any time by clicking the \"Restart Game\" button.\n\n## Project Structure\n- 🌟 `WhackAMole.java`: Main class containing the game logic.\n- 🌟 `/assetsFiles`: Folder containing game assets (icons, audio files).\n\n## Prerequisites\n- 🌟 Java Development Kit (JDK)\n\n## Installation\n1. 🌟 Clone or download the repository to your local machine.\n\n   ```bash\n   git clone https://github.com/ChristopherAlphonse/whackAMole_Java.git\n\n#### 🌟 Run the Main.java to start the game.\n\n```bash\npublic class Main {\n   public static void main(String[] args) throws Exception {\n      WhackAMole WhackAMole = new WhackAMole();\n      System.out.println(\"Game Started\");\n   }\n}\n```\n\n## Game Features\n- 🌟 The game board dynamically adjusts to a 3x3 grid, providing a challenging gameplay experience.\n- 🌟 Enjoy the game with iconic Mario characters, featuring Monty Mole and Piranha Plant.\n- 🌟 The score is displayed at the top of the window, allowing you to track your performance.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristopheralphonse%2Fwhackamole_java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristopheralphonse%2Fwhackamole_java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristopheralphonse%2Fwhackamole_java/lists"}