This is a browser-minigame where the user is going to guess if the picture is annotated by a human or an AI.
- clone the repo
- install Java 17 and maven
- compile the project using maven
- run the .jar
- To reset the results, delete the .json files in src/main/webapp/WEB-INF/
- !!! If you've got a custom path to the webpage you may have to add the path to the "dynamicUrl" in HomepageController to make the js work properly
The project is built using Java Spring MVC as the backend and html/css/js as the frontend. When the user connects to the page they will be redirected to a login where they can choose to add a username (leave empty for anonymous) and choose a difficulty. There are two difficulties: easy and hard.
- Easymode will show you the same picture annotated by both a human and an AI and you're going to click the picture that is annotated by a human.
- Hardmode will only show either the picture annotated by a human or the one annotated by the AI and you have to guess which one is shown.
- Add admin page (to reset stats -- maybe delete specific ones)
- Add top results
- Pretty up code
- Add comments explaining the code