Learning about primary resolve tree. Traversing data with child and parent nodes

This commit is contained in:
2024-10-21 08:11:55 -04:00
parent 40db904a6c
commit 61d38852cd

View File

@@ -188,11 +188,17 @@ func AllObjectsFound():
for n in AllSetsToGoal.size(): for n in AllSetsToGoal.size():
var PrimaryPlaceHolder = AllSetsToGoal[n] var PrimaryPlaceHolder = AllSetsToGoal[n]
if n + 1 < AllSetsToGoal.size(): if n < AllSetsToGoal.size():
var SearchPlaceHolder = AllSetsToGoal[n + 1] var SearchPlaceHolder = AllSetsToGoal[n]
print("Search Placeholder ",n, " is : ", SearchPlaceHolder ) print()
print("Search Placeholder ",n)#, " is : ", SearchPlaceHolder )
for i in SearchPlaceHolder: for i in SearchPlaceHolder:
print("The Broken up pieces is: ",i) print("The Broken up pieces is: ",i)
for index in AllSetsToGoal.size():
if n != index:
print("The Index is the ",index, " placeholder: ", AllSetsToGoal[index].find(i))
else:
print(index," Is the same as the placeholder")
Move_Check1 = move Move_Check1 = move