src/main/java/cz/educanet/minesweeper/logic/Minesweeper.java
public boolean didLoose() {
        for (int i = 0; i < rowsCount; i++) {
            for (int j = 0; j < columnsCount; j++) {
if (isBombOnPosition(i,j) && pitchState[i][j] == 1)
    return true;
            }
        }
        return false;
    }
/**
     * returns true if player revealed a bomb, else false
     *
     * @return if player lost
     */
returns true if player revealed a bomb, else false
@return if player lost
returns true if player revealed a bomb else false @return if player lost
public boolean didLoose() {
        for (int i = 0; i < rowsCount; i++) {
            for (int j = 0; j < columnsCount; j++) {
if (isBombOnPosition(i,j) && pitchState[i][j] == 1)
    return true;
            }
        }
        return false;
    }
public boolean didLoose ( ) { for ( int i = 0 ; i < rowsCount ; i ++ ) { for ( int j = 0 ; j < columnsCount ; j ++ ) { if ( isBombOnPosition ( i , j ) && pitchState [ i ] [ j ] == 1 ) return true ; } } return false ; }
returns true if player revealed a bomb, else false
 @return if player lost
returns true if player revealed a bomb else false @return if player lost