card-service
Purpose
A multiplayer service which will connect users for generic card games. Uses restful principals to accept incoming data and uses a websocket layer to manage keeping player clients up to date.
Tooling overview
- Build: Gradle
- Language: Kotlin
- Framework: Ktor
- Deploy service: Digital Ocean App Platform
- Deploy platform: Docker
Running locally
Any platform
./gradlew
./gradlew shadowJar
java -jar ./build/libs/io.standel.cards.card-service-0.0.1-all.jar
For best local experience
- Install IntelliJ (Community or IDEA)
- Run the
main
function inio.standel.cards.ApplicationKt
Package overview
io.standel.cards.models
- data shape representationsio.standel.cards.plugins
- important plugins for Ktor (routing, websockets, and serialization)io.standel.cards.repositories
- data-transfer layersio.standel.cards.utils
- code-level synchronous utilities