Welcome to a playful web challenge where you search for the correct button among many. This project uses a colorful, responsive layout and a simple button game mechanic to create a fun, lighthearted experience.
Features:
- Large button grid for a bold visual effect
- Bright gradient background for a modern look
- Animated hover states on each button
Enjoy the game and feel free to customize the style and button behavior!
License:
This project is released under the MIT License. You are free to use, copy, modify, and distribute the source code while keeping the original copyright notice and license terms.
Note: Dis Website is still very laggy and doesn't run that good on most phones and many laptops/PCs. It tries to render 100.000 buttons at the same time. Work in progress.
How to use:
- Open
index.htmlin a browser. - Search for the correct button among the grid.
- Click the winning button to reveal the success page.
- Use
stylesheet.cssto adjust visual styles andwon.htmlas the win screen. - For large button generation, update the
buttonGen.pyscript and run it with Python.
Docker instructions:
- Make sure Docker is installed and the Docker service is running.
- Open a terminal in the
FindTheButtonproject folder. - Build the Docker image with:
docker compose build
- Start the container with:
docker compose up -d
- Open
http://localhost:8080in your browser (or the port defined incompose.yaml). - To stop the container, use:
docker compose down
If you make changes to the project, run docker compose up -d --build to rebuild the image.
Anleitung:
- Öffne
index.htmlin einem Browser. - Suche den richtigen Button im Raster.
- Klicke den Gewinner-Button, um die Erfolgsseite anzuzeigen.
- Nutze
stylesheet.css, um das Design anzupassen, undwon.htmlals Gewinnseite. - Für große Button-Generierung bearbeite
buttonGen.pyund führe es mit Python aus.
Docker Anleitung:
- Stelle sicher, dass Docker installiert und der Docker-Dienst gestartet ist.
- Öffne eine Konsole im Projektordner
FindTheButton. - Baue das Docker-Image mit:
docker compose build
- Starte den Container mit:
docker compose up -d
- Öffne im Browser
http://localhost:8080(oder den incompose.yamldefinierten Port). - Um den Container zu stoppen, verwende:
docker compose down
Wenn du Änderungen am Projekt machst, führe docker compose up -d --build aus, damit das Image neu gebaut wird.
Wenn du das Projekt prüfen möchtest, kannst du auch docker compose ps verwenden, um den laufenden Dienst zu überprüfen.