Closed Richienb closed 3 years ago
Added
@shubhendusaurabh I'm trying to rewrite the move validation but to do so, I need to know what version of Draughts we are supposed to be using.
@Richienb I think I had English draughts in mind when i started this project but long term aim was to cover all major versions through configuration.
But soon started another repo with support for 10x10 board: https://github.com/shubhendusaurabh/checkers.js as the bitboard logic was different and handling rule variations would increase complexity.
@shubhendusaurabh Perhaps we can accept a gameType
option which initialises different validation engines.
@Richienb yes, that's a good idea. with some default engine if no option passed.
I've created the refactor
branch and added some empty functions to https://github.com/shubhendusaurabh/draughts.js/blob/refactor/source/gameTypes/english.ts
I can help maintain draughts.js, completing all of the todos left.
Please add me as a maintainer on Github and on npm.
// @shubhendusaurabh