Search found 2 matches
- Sun Jan 25, 2015 11:30 pm
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 125399
Re: 10189 - Minesweeper
#include <iostream>
// With this function, we compute the number of adjacent mines, for the
// (ii,jj)-th position of the board. We assume that for every value of (ii,jj),
// we will NOT be located on a mine, since the main module would have already
// validated this.
int CountMinesAround(const ...
- Sat Jan 24, 2015 9:56 am
- Forum: Volume 101 (10100-10199)
- Topic: 10189 - Minesweeper
- Replies: 418
- Views: 125399
Re: 10189 - Minesweeper
#include <iostream>
// With this function, we compute the number of adjacent mines, for the
// (ii,jj)-th position of the board. We assume that for every value of (ii,jj),
// we will NOT be located on a mine, since the main module would have already
// validated this.
int CountMinesAround(const ...