connected rooms)sharing walls) in a grid
If we have a grid for example int[10][10], and fill them randomly with Xs
or nothing, how to write a boolean method that return TRUE if 5 rooms are
connected horizontally or vertically but not diagonally. Thanks, ' your
help is appreciated.
No comments:
Post a Comment