Replace validateMove
with getValidMoves
#135
Labels
infra
Changes and improvements to the project's infrastructure
validateMove
with getValidMoves
#135
Instead of getting a target position and returning a position (what
validateMove
does), we should create a functiongetValidMoves
which returns all the valid moves a piece has. It should make the code more readable and help with implementing #45.The text was updated successfully, but these errors were encountered: