FulcrumChess is a chess engine written in F#; still in an early phase of development.
- .NET Core 3.1
- (Optional) Fake (F# build for .NET Core)
dotnet tool install fake-cli -g
- (Optional) .NET Core Trace
dotnet tool install trace -g
dotnet build
dotnet run -p src/FulcrumChess.Engine
or with Fake:
dotnet fake build
(also runs unit tests)
or with building native binaries:
dotnet publish -c Release -r linux-x64 -p PublishReadyToRun:false
cd test/FulcrumChess.Engine.Tests
dotnet test
OR:
dotnet fake run build.fsx -t Test
Easy way, with compilation if needed:
dotnet run -p src/FulcrumChess.Engine
OR, if built already:
./run.sh
Run the binary from artifacts built through dotnet publish
(see above):
src/FulcrumChess.Engine/bin/Release/linux-x64/FulcrumChess.Engine
dotnet run -c Release -p test/FulcrumChess.Engine.Benchmarks --filter *Suite*
OR
dotnet fake run build.fsx -t Benchmark
dotnet trace collect -p <PID> --format Speedscope
Example:
dotnet dotnet-counters collect --counters time-in-gc -p 8935