Kanoot Engine is a quiz game server application built using Kotlin and Ktor. This project provides a robust and scalable server for handling game logic and client interactions. Players should use the corresponding Kanoot Play web app to be quizzed and be square.
- Built with Kotlin and Ktor
- JSON serialization with Kotlinx
- Configurable logging with Logback
- Easy routing configuration
- JDK 11 or higher
- Gradle 6.8.3 or higher
-
Clone the repository:
git clone https://github.com/yourusername/kanoot.git cd kanoot
-
Build the project:
./gradlew build
To start the server, run the following command:
./gradlew run
The server will start on http://0.0.0.0:8080.
The main configuration for the server is located in app/src/main/kotlin/com/knutmork/kanoot/gameserver/Application.kt. You can modify the server port and host in the embeddedServer function.
Logging is configured using Logback. The configuration file is located at app/src/main/kotlin/resources/logback.xml. You can adjust the logging levels and appenders as needed.
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License. See the LICENSE file for details.