mirror of
https://github.com/smyalygames/kahoot-challenge-2025.git
synced 2025-05-18 07:44:15 +02:00
29 lines
716 B
Markdown
29 lines
716 B
Markdown
# Kahoot! Challenge
|
|
|
|
This is the solution for the Kahoot! Challenge 2025 created by
|
|
Anthony Berg. It was a fun challenge! :)
|
|
|
|
## Requirements
|
|
This has been tested using Java 21, so Java 21 or later is required.
|
|
|
|
## Running
|
|
|
|
To run the program, run it from the command line:
|
|
```shell
|
|
app <file path>
|
|
```
|
|
|
|
This can be run without compiling the application first, by using Gradle:
|
|
```shell
|
|
./gradlew run --args="example.txt"
|
|
```
|
|
|
|
The example file is provided: [app/example.txt](app/example.txt).
|
|
|
|
## Compiling
|
|
To compile the application, run:
|
|
```shell
|
|
./gradlew assembleDist
|
|
```
|
|
And the archive for the application should be located in `app/build/distributions/`.
|
|
Then extract the archive and run the app in `app/bin/`. |