项目
在 GitHub 查看
lichess-org/scalachess
关于
使用 Scala 编写的国际象棋 API。不可变且无副作用。
游戏与模拟器实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +3
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Chess API written in scala for lichess.org
It is entirely functional, immutable, and free of side effects.
INSTALL
Clone scalachess
git clone https://github.com/lichess-org/scalachess
Start sbt in scalachess directory
sbt
In the sbt shell, to compile scalachess, run
compile
To run the tests
testKit / test
To run full benchmarks (takes more than 1 hour to finish):
bench / Jmh / run
Or to output a json file
bench / Jmh / run -rf json
To run quick benchmarks (results may be inaccurate):
bench / Jmh / run -i 1 -wi 1 -f1
To run longer benchmarks:
bench / Jmh / run -i 3 -wi 2 -f2
To run benchmarks for a specific class:
bench / Jmh / run -rf json .*PlayBench.*
sbt prepare
Install (python)
For python code, install pipenv, and run $ pipenv install from project root.
Release
- Bump version in
build.sbt. - Commit the version bump and push to master.
gh release create X.Y.Z
探索相关项目
加载中…