You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Thibault Duplessis 7ef0765ee2
14.7.1
1 day ago
.github update github workflow 4 months ago
bench/src/main/scala/benchmarks Add benchmark for Horde insufficientMaterial 2 weeks ago
project Update sbt-jmh to 0.4.4 2 months ago
src Fix tests after fewerbraces auto rewrite 2 days ago
.gitignore add sbt-bloop plugin 8 months ago
.scalafix.conf scalafix it up 6 years ago
.scalafmt.conf scalafmt 3.7.3 to support fewerbraces 2 days ago
LICENSE unlazy vals 9 years ago
README.md Fix typo in README 4 days ago
build.sbt 14.7.1 1 day ago
sync-openings.py move scalachess specific script to scalachess repo 4 months ago

README.md

Continuous Integration

Chess API written in scala for lichess.org

It is entirely functional, immutable, and free of side effects.

INSTALL

Clone scalachess

git clone git://github.com/ornicar/scalachess

Start sbt in scalachess directory

sbt

In the sbt shell, to compile scalachess, run

compile

To run the tests

test

To run benchmarks (takes more than 1 hour to finish):

bench / Jmh / run

Or to ouput a json file

bench / Jmh / run -rf json

To run quick benchmarks (results may be inaccurate):

bench / Jmh / run -i 1 -wi 1 -f1 -t1

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.