update gameboard

checks for win condition, draw condition, and if an illegal move was
made