Added check for a winner, doesn't draw the final state correctly