#checking square based crafting system

1 messages · Page 1 of 1 (latest)

celest dust
#

Basically a square shaped crafting system as shown, and the algorithm is as follows:
first you check for all group connections in the board
then you check if all the the elements match the recipe elements
if so then you check the first element to see if the connection is as requested by the recipe and if not then you return
such as, H-O-F-H being different from H-O-H-F
this is an elements combining game
but stuff such as sucrose exist that just dont make it work

#

I really dont know how to make the algorithm to check the recipes

fathom summit
#

idk about you but i would start with matrices

#

figure out if the inputted recipe is equal to any matrix

livid wagon
#

yeah i like that

#

thats a tough one tbf!

#

suppose it's a bit like a linked list or something