💣 Button Panic (Catch the button) A "One-Button" Game Challenge
📖 The Story & Inspiration This project was born from a specific challenge given by our teacher: "Make an app where there is only one button."
While most would create a simple clicker, I wanted to turn the UI itself into the gameplay. In this game, the single button you are supposed to interact with is actively trying to escape. It’s a "cat and mouse" game where the button is the mouse and your pointer is the cat.
🎮 Gameplay The Objective: You must catch (click) the button as it runs away from your mouse pointer.
The "Tease" Mechanic: The button will jump between four random locations.
The Catch: Only one of those locations is the actual winnable button. The other three are "teases"—visual decoys designed to trick you and waste your precious time!
The Stakes: A countdown timer is always ticking. Each time you successfully click the real button, the timer resets.
Game Over: If the timer reaches zero before you can find and click the real button, it explodes—Game Over.
🛠️ How to Open & Run the Project For Players (Just want to play) Go to the Releases section on the right side of this GitHub page.
Download the ButtonPanic.1.zip file.
Extract the folder and run the .exe file.
For Developers (Open in Unity) To explore the code and see how the button's "escape" and "decoy" logic works:
Clone the Repo: Click the green <> Code button and copy the URL, or select "Open with GitHub Desktop."
Editor Version: This project was developed in 2024 using Unity 2022.3.43f1.
Open: Launch Unity Hub, click Add, and select the folder where you cloned this repository.
Play: Open the main scene under Assets/Scenes and press the Play button.
📂 Project Structure Assets/Scripts: Contains the C# logic for the decoy system, button movement, and the countdown timer.
Assets/Scenes: The main game level.
ProjectSettings: All input and tag configurations used for the game.
🛠️ Built With Unity Engine (2022.3.43f1)
C# Scripting
Credits : Assets and graphics made by fernandezalnicojr@gmail.com