Move validity check given to Board class.