Skip to content

MasterX185/FindTheButton

Repository files navigation

FIND THE BUTTON!

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.

ENGLISH

How to use:

  1. Open index.html in a browser.
  2. Search for the correct button among the grid.
  3. Click the winning button to reveal the success page.
  4. Use stylesheet.css to adjust visual styles and won.html as the win screen.
  5. For large button generation, update the buttonGen.py script and run it with Python.

Docker instructions:

  1. Make sure Docker is installed and the Docker service is running.
  2. Open a terminal in the FindTheButton project folder.
  3. Build the Docker image with:
    • docker compose build
  4. Start the container with:
    • docker compose up -d
  5. Open http://localhost:8080 in your browser (or the port defined in compose.yaml).
  6. 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.

DEUTSCH

Anleitung:

  1. Öffne index.html in einem Browser.
  2. Suche den richtigen Button im Raster.
  3. Klicke den Gewinner-Button, um die Erfolgsseite anzuzeigen.
  4. Nutze stylesheet.css, um das Design anzupassen, und won.html als Gewinnseite.
  5. Für große Button-Generierung bearbeite buttonGen.py und führe es mit Python aus.

Docker Anleitung:

  1. Stelle sicher, dass Docker installiert und der Docker-Dienst gestartet ist.
  2. Öffne eine Konsole im Projektordner FindTheButton.
  3. Baue das Docker-Image mit:
    • docker compose build
  4. Starte den Container mit:
    • docker compose up -d
  5. Öffne im Browser http://localhost:8080 (oder den in compose.yaml definierten Port).
  6. 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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages