Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 1.14 KB

README.md

File metadata and controls

41 lines (22 loc) · 1.14 KB

Strategy Games API written in scala for playstrategy.org Build Status

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.

INSTALL

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.