Skip to content

Online multiplayer version of the card game Dominion

License

Notifications You must be signed in to change notification settings

sigma-libra/Dominion

Repository files navigation

Software Engineering Project

TU Wien, Autumn 2017

Dominion

.. is a deck-building multiplayer game.

authors

Name: Ulrike, Schaefer\

Name: Johannes, Trippl\

Name: Sabrina, Kall\

Name: Alex, Nachname\

Name: Paul, Pinterits\

Name: Sahab, Nachname\

how to

Build and run

cd path/to/proj_ws17_sepm_qse_04
./mvnw clean compile test install

Start server

java -jar server/target/Dominion-Server-0.0.1-SNAPSHOT.jar

Start client

java -jar client/target/Dominion-Client-0.0.1-SNAPSHOT-jar-with-dependencies.jar

REST - UserPersistence

GET /user/all

returns all users saved in db

curl --request GET \
  --url http://localhost:8080/user/all
GET /user/byid

returns a user with id=1

curl --request GET \
  --url 'http://localhost:8080/user/byid?id=1'
POST /user/add

add a user called Saruman

curl --request POST \
  --url http://localhost:8080/user/add \
  --header 'content-type: application/json' \
  --data '{"username":"Boromir","password":"pwpwpw"}'
POST /auth

authenticate against the server

curl --request POST \
  --url 'http://localhost:8080/auth' \
  --header 'content-type: application/json' \
  --data '{"username":"Boromir","password":"pwpwpw"}'

KNOWN PROBLEMS

Deployment issues

start server and client via scripts! running compile and install server throws an error (test @ client) - ignore it for now - server works, client tests do too!

About

Online multiplayer version of the card game Dominion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages