Strategy Games API written in scala for playstrategy.org
It is entirely functional, immutable, and free of side effects.
strategygames is a fork from scalachess which is the equivalent Chess API for lichess.org.
Clone scalachess
git clone git://github.com/Mind-Sports-Games/strategygames
Get latest sbt on http://www.scala-sbt.org/download.html
Start sbt in scalachess directory
sbt
In the sbt shell, to compile scalachess, run
compile
To run the tests (with coverage):
clean coverage test
coverageReport
To run only 1 test:
sbt "testOnly **.TestNameTest"
Code formatting
This repository uses scalafmt.
Please install it for your code editor if you're going to contribute to this project.
If you don't install it, please run scalafmtAll
in the sbt console before committing.