Server code functions for when you are a black piece. White piece is
having issues, as server throws an invalid move.