a Java submission for War-O as a code exercise
- this project uses:
- Java 8 streams
var
,record
,sealed
- goals include: a functional style, immutable objects, minimal use of for-loops
- Spring's Java configuration is used to configure players
- requires JDK 18
- Gradle wrapper version: 7.3-rc-1
useful commands:
sdk env
./gradlew clean test
- on Windows, use
gradlew.bat
- on Windows, use
./gradlew run
./gradlew build
See test output in ~/build/reports/tests/index.html
See executable zip in ~/build/distributions
- configure
src/main/java/org/peidevs/waro/config/Config.java
./gradlew run
- on Windows, use
gradlew.bat
- on Windows, use
Rules are here.