Full threadkubb·I thought the data structure part is solved:https://en.wikipedia.org/wiki/Rope_(data_structure)View on HN