# Hitler Clicker Hitler Clicker is a simple game where you have to choose one of 3 teams to click for. The team with the most clicks wins, except that the game is endless. This project is licensed under **AGPLv3-or-later**. See `LICENSE.md` for more information. - - - ## Test Environment There is an included testing environment. Requirements are Docker and PHP. Docker is generally not needed, you can replace it with any other DB Server. PHP has to have the `pdo_mysql` driver enabled. ```sh # start mariadb cd ./backend/docker-test-env/ docker compose up -d # start api cd .. #./backend/ php -S localhost:8000 # start frontend cd ../frontend/ npm i npm run dev ``` You send requests to the API like this: ```sh curl -X POST -d '{ "key": "value" }' http://localhost:8000/yourapifile.php ``` `index.php` automatically creates the required database tables if they do not already exist, so just request that API to have everything set up for you. ## To-Do ### Backend - add name and password change - add anonymous clicking for a team ### Frontend - sort landing page team clicks by amount - play page: preload active image - play page: team-based images - play page: click on any key press - find out if cookie banner is legally required