Return y coordinate at field \a f
| 183 | } |
| 184 | /// Return y coordinate at field \a f |
| 185 | int y(int f) const { |
| 186 | return f / n; |
| 187 | } |
| 188 | /// Compute set of neighbour fields |
| 189 | IntSet neighbors(int i) { |
| 190 | static const int moves[8][2] = { |
no outgoing calls
no test coverage detected