/scopa

The traditional italian card game, but poorly implemented in Kotlin.

Primary LanguageKotlin

scopa

The traditional italian card game, but poorly implemented in Kotlin.

Requirements

  • Java 17 (openjdk)
  • IntelliJ IDEA 2023 (latest version should also work fine)
  • Gradle (8.4)
  • Kotlin (1.7.20)

Local setup (for development)

  1. Clone the repository.
git clone https://github.com/hamburguesa66/scopa
  1. Import the project into IDEA.

The IDE should install/configure the required plugins (Kotlin, Gradle) automatically.

  1. Execute the app using the "Run Game" run configuration.

  2. Run the tests using the "Unit Tests" run configuration.

Release

  1. Run the following command in the root folder to generate a "fat" JAR.
./gradlew build

The new artifact should be located in ./build/libs. The name would be scopa-A.B.C.jar

  1. Then, you should be able to execute the game with Java.
java -jar scopa-1.0.0.jar