shubhendusaurabh / draughts.js

A Javascript draughts/checkers library for move generation/validation, piece placement/movement, and draw detection
Mozilla Public License 2.0
27 stars 11 forks source link

Fix for passing a square position to moves #6

Closed MSmithDev closed 4 years ago

MSmithDev commented 4 years ago

Code is looking for square.square, not sure what that's supposed to be, getting rid of the .square allows passing a position ie moves("31") and returns a list of moves from that location.