Added move validator to check piece type