New answers tagged

2 votes

Validate structure for a room escape game

The requirement 1 (every room must be rectangular) can be tested using the flood fill algorithm. This algorithm allows you to start from somewhere on a tile-based map and find all tiles that can be ...
Philipp's user avatar
  • 118k

Top 50 recent answers are included