This version should find all possible sequences, but it has trouble ruling out the ones that overlap because whenever a sequence is made it uses two fake/new tiles. Either this has to change or they need to be swapped later on, or the amount of the same tile can be kept track of and it can be done without IDs, just with the count.
This version should find all possible sequences, but it has trouble ruling out the ones that overlap because whenever a sequence is made it uses two fake/new tiles. Either this has to change or they need to be swapped later on, or the amount of the same tile can be kept track of and it can be done without IDs, just with the count.