Just a simple Sudoku game I made for fun in Kotlin.
This project only contains Kotlin source files and the executable .jar file.
To successfully compile and run the project, you need:
- Kotlin Compiler (
kotlinc) - Java Runtime Environment (JRE)
The Kotlin compiler (kotlinc) is required to compile the .kt source files into a .jar.
Installation:
- Official website: https://kotlinlang.org/docs/command-line.html
Manual download:
Download the latest Kotlin compiler (e.g. kotlin-compiler-2.1.21.zip) from the GitHub Releases.
Unzip it and add the bin directory to your system's PATH to access kotlinc globally.
On UNIX-like systems:
Use SDKMAN! for easy installation and management of Kotlin versions.
Install SDKMAN! with:
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"Verify installation by running:
sdk versionThen install Kotlin:
sdk install kotlinVerify installation by running:
kotlin -versionThe Java Runtime Environment is required to run the compiled .jar file.
Installation:
-
Official Oracle JRE/JDK: https://www.oracle.com/java/technologies/downloads/
-
OpenJDK (recommended and open-source):
sudo apt install openjdk-21-jdk # Debian/Ubuntu sudo pacman -S jdk21-openjdk # Arch Linux
Verify installation by running:
java -versionCompile the Kotlin source files into a .jar:
./compile.shCompile and run the project:
./compile.sh -eShow help:
./compile.sh --helpIf no flag is provided, the script will just compile the project.