Skip to content

Pictionary is an interactive drawing game. A game consists of a custom number of rounds where the drawer must draw an offered word and the guessers must guess it. If someone guesses the word correctly, the guesser gets points. If the drawing gets recognized by the Google Vision AI, the drawer receives points too. So, draw as good as you can!

License

Notifications You must be signed in to change notification settings

sopra-fs22-group-27/Pictionary-Server

Repository files navigation

Pictionary_logo

Information about the Project:

https://pictionary-server-22.herokuapp.com/

Current project status

Deploy Project Test Project
Coverage Lines of Code

Introduction:

Pictionary is an interactive drawing game. The rules of this game are amazingly simple. A game consists of a custom number of rounds where someone must draw an offered word and the other players must guess it. If someone guesses the word correctly, the player gets 10 points. The player with the most points at the end wins the game and receives ranking points. One difference between our application and other Pictionary games is that the drawer is also able to get points. This is possible because we use the power of Google Vision AI which recognizes what the player is drawing.

Technologies

Cloudinary, Spring, SonarQube, React, npm, JSX, Java, Java Persistence, heroku, gradle, GitHub Projects, GitHub Actions

High-level components

GameController The game controller is critical to the app's functionality because it handles practically all API requests performed during the game. It, for example, manages the game's capacity. It determines if a game is already full or whether a user can join.

UserController Almost all API calls involving the user are handled by the user controller. It, for example, manages the api calls during the user registration procedure.

UserService The user service is in charge of a wide range of functions. It, for example, checks whether the user's email address already exists and sends an error message if it does.

Launch & Deployment

You can use the local Gradle Wrapper to build the application.

Plattform-Prefix:

  • MAC OS X: ./gradlew
  • Linux: ./gradlew
  • Windows: ./gradlew.bat

More Information about Gradle Wrapper and Gradle.

Build

./gradlew build

Run

./gradlew bootRun

API Endpoint Testing

Postman

  • We highly recommend to use Postman in order to test your API Endpoints.

Roadmap

  • Add a different game mode where the users can play some kind of drinking game.
  • Create shapes which could be used by drag & drop during drawing.
  • Make the application more secure.

Acknowledgements

This project was started using this template -> Server

Team Members

License

MIT license

About

Pictionary is an interactive drawing game. A game consists of a custom number of rounds where the drawer must draw an offered word and the guessers must guess it. If someone guesses the word correctly, the guesser gets points. If the drawing gets recognized by the Google Vision AI, the drawer receives points too. So, draw as good as you can!

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages