Welcome to the backend repository for the "Guess The Game With Emojis" project. This repository contains the server-side code implemented using Java and the Spring Framework. The backend handles game data, retrieves emoji hints, and processes user guesses.
"Guess The Game With Emojis" is an interactive game where users try to guess the name of a video game based on a series of emojis that represent the game. Each game in the database has a corresponding set of emojis that give users hints about the game title.
- Random Game Hint: Provides a random set of emojis for a game from the database.
- Guess Submission: Accepts user guesses and checks if they are correct.
- Auto-Complete: Suggests game names as the user types their guess.
- Database Integration: Utilizes MySQL to store game data and emojis.
/get-random-hint
: Returns a random game hint with emojis./submit-game
: Accepts game ID and user’s guessed game name, returns whether the guess is correct./auto-complete
: Provides a list of game names that match the user’s input.
- Users will have 5 attempts to guess the game.
- Initially, only one emoji will be shown.
- For each incorrect guess, an additional emoji and a hint (e.g., Metacritic score, release year, genre) will be revealed.
- The game will end after 5 incorrect guesses, indicating the user did not guess the game.
- Implement user authentication to track scores and progress.
- Create a leaderboard to display top players based on their scores.
Contributions are welcome! Please fork the repository and create a pull request with your changes. Ensure that your code adheres to the project's coding standards and includes appropriate tests.