Skip to content

Alan Turing's TUROCHAMP chess engine as a native UCI binary and a progressive web app (PWA).

License

Notifications You must be signed in to change notification settings

mdoege/nimTUROCHAMP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Aug 11, 2023
0edc2e7 · Aug 11, 2023

History

96 Commits
Aug 11, 2023
Jan 26, 2022
Feb 9, 2022
Aug 11, 2023
Aug 6, 2021
Jun 13, 2020
Feb 16, 2020

Repository files navigation

NimTUROCHAMP

screenshot

A TUROCHAMP implementation in Nim which uses the Sunfish move generator and works as an UCI binary. Based on the pyturochamp.py code.

Here is a web browser-based demo of nimTUROCHAMP built with "nim js", with the man himself dishing out some timeless chess advice. (Warning: working sense of humor required!) Use Shift-Reload in your browser (or clear your browser cache) if you are not seeing the latest web app version, which is currently "v19".

Compilation

nim c -d:danger --passC:"-flto" ntc

These recommended compilation switches produce a faster engine binary by disabling Nim runtime checks and enabling link-time optimization, respectively.

UCI parameters

  • MAXPLIES: maximum brute-force search depth
  • QPLIES: maximum selective search depth

(At the default of MAXPLIES = 2 and QPLIES = 8, there are two brute-force plies and up to six selective plies.)

If you are using the native NTC binary with a GUI chess frontend, make sure that the GUI considers an illegal engine move a resignation, i.e. the GUI should adjudicate a win for the other player in that case. The web app does this automatically.

License

GNU GPL v3

About

Alan Turing's TUROCHAMP chess engine as a native UCI binary and a progressive web app (PWA).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published