from typing import List from data import Items, Recipes from engine import Graph, World, solve world = World( bus=[ Items.IronBar, Items.CopperBar, Items.SteelBar, ], items=Items.as_set(), recipes=Recipes.as_set(), size=10 ) solutions = solve(Graph.create_graph(world, Recipes.IronPlate)) if not solutions: print("No solutions found") exit(1) for solution in solutions: solution.draw()