@Override
    public Object getValueAt(int rowIndex, int columnIndex) {
        
        if(columnIndex < 0 || columnIndex >= getColumnCount())
            return null;
        if(rowIndex < 0 || rowIndex >= getRowCount())
            return null;
        
        switch (columnIndex) {
        case 0:
            return gs.playerStates.get(rowIndex).getNickname();
        case 1:
            if(gs.playerStates.get(rowIndex).getNickname().equals(gs.activePlayer)) {
                return "turn";
            }
            if(gs.playerStates.get(rowIndex).isActive()) {
                return "wait";
            } else {
                return "finished";
            }
        case 2:
            return gs.playerStates.get(rowIndex).getScore();
        }
        
        return null;
    }