fn has_bingo(&self) -> bool {
        for y in 0..self.score.len() {
            let mut row_match = true;
            for x in 0..self.score[y].len() {
                row_match = row_match && self.score[y][x] == 1;
            }
            if row_match {
                return true;
            }
        }

        for x in 0..self.score[0].len() {
            let mut col_match = true;
            for y in 0..self.score.len() {
                col_match = col_match && (self.score[y][x] == 1);
            }
            if col_match {
                return true;
            }
        }

        false
    }
/// Check if this board has bingo.
Check if this board has bingo.
Check if this board has bingo .
fn has_bingo(&self) -> bool {
        for y in 0..self.score.len() {
            let mut row_match = true;
            for x in 0..self.score[y].len() {
                row_match = row_match && self.score[y][x] == 1;
            }
            if row_match {
                return true;
            }
        }
        for x in 0..self.score[0].len() {
            let mut col_match = true;
            for y in 0..self.score.len() {
                col_match = col_match && (self.score[y][x] == 1);
            }
            if col_match {
                return true;
            }
        }
        false
    }
fn has_bingo ( & self ) -> bool { for y in 0 .. self . score . len ( ) { let mut row_match = true ; for x in 0 .. self . score [ y ] . len ( ) { row_match = row_match && self . score [ y ] [ x ] == 1 ; } if row_match { return true ; } } for x in 0 .. self . score [ 0 ] . len ( ) { let mut col_match = true ; for y in 0 .. self . score . len ( ) { col_match = col_match && ( self . score [ y ] [ x ] == 1 ) ; } if col_match { return true ; } } false }
Check if this board has bingo.
Check if this board has bingo .
&self