This reminded me of Tents [0], which is one of the games in Simon's puzzle collection that I reach for while waiting for code to compile.
Someone should add this game! Simon has very good developer documentation [1], and the code is very cleanly written C. Seriously, every C developer should take a look at it, it is inspiring [2].
Someone should add this game! Simon has very good developer documentation [1], and the code is very cleanly written C. Seriously, every C developer should take a look at it, it is inspiring [2].
[0]: https://www.chiark.greenend.org.uk/~sgtatham/puzzles/js/tent...
[1]: https://www.chiark.greenend.org.uk/~sgtatham/puzzles/devel/
[2]: https://git.tartarus.org/?p=simon/puzzles.git