jago-server/src/main/java/jago/server/board/Board.java
void putOwner(StoneColor color, int x, int y) {
        newStone = null;
        if (board[x][y].owner.equals(color)) { // if there is already owner set
            // on state empty
            board[x][y].owner = StoneColor.EMPTY;
        } else {
            board[x][y].owner = color;
        }
        newStone = board[x][y];
    }
/**
     * Set a owner of the square
     */
Set a owner of the square
Set a owner of the square
void putOwner(StoneColor color, int x, int y) {
        newStone = null;
        if (board[x][y].owner.equals(color)) { 
            board[x][y].owner = StoneColor.EMPTY;
        } else {
            board[x][y].owner = color;
        }
        newStone = board[x][y];
    }
void putOwner ( StoneColor color , int x , int y ) { newStone = null ; if ( board [ x ] [ y ] . owner . equals ( color ) ) { board [ x ] [ y ] . owner = StoneColor . EMPTY ; } else { board [ x ] [ y ] . owner = color ; } newStone = board [ x ] [ y ] ; }
Set a owner of the square
Set a owner of the square
// if there is already owner set // on state empty