raytran / protochess

Online multiplayer chess website that lets you build custom pieces/boards. Written in Svelte + Rust.

Home Page:https://protochess.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to add a knightrider?

Colonizor48 opened this issue · comments

You need to use delta-based slide moves, and give every new direction a new group.
It should look something like this:
Nightrider
Each direction should have a different group number, and each step within the direction should be increasing.
Do this with both translate and attack delta-based slides and you should have a Nightrider.
You should also make the 'arms' of the directions as long as is needed for your board. That should be 1+x steps for a board the size of 3+2x.

I hope that helps :)

Thank you! While im here may i suggest a piece type that can capture without moving? For example a piece that could capture like a rook but could only move like a king.