educative.io

Educative

Why Board is needed in pieces canMove function in in chess design?

Why Board is needed in pieces canMove function in in chess design?