frcGen - Chess960 tool

Discussion of anything and everything relating to chess playing software and machines.

Moderators: bob, hgm, Harvey Williamson

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Post Reply
JohnWoe
Posts: 189
Joined: Sat Mar 02, 2013 10:31 pm

frcGen - Chess960 tool

Post by JohnWoe » Fri Mar 13, 2020 1:30 pm

I created a small tool generating a chess960 position by index number.
Small in size 1.1KB.
Maybe helpful to somebody.

https://github.com/SamuraiDangyo/frcGen ... s/tag/v1.0

Only one function to call:

Code: Select all

let position = frcGen(2); // "bqnnrbkr/pppppppp/8/8/8/8/PPPPPPPP/BQNNRBKR w EHeh - 0 1"

Post Reply