r/askmath
•
u/Arielgot
•
2h ago
Probability Calculating the odds of the Undertale's "Mettaton Multicolor Tile Puzzle" being feasable?
hello! this is a rather strange but also interesting question I have asked myself before and never got to dive into it because it seems like a lot. I'll organise the text body to make it more easily understandable.
--------------------------------------------------------------------------------------------------------------
What is the puzzle about? (for those who haven't seen or played the game/want to be certain)
this is introduced in the game as a completely randomised puzzle with as many possibilities as there are colour combinations. It is made up of a 7 by 6 grid of coloured squares who all have a different function when stepped on them, the goal being to reach the other side. Here are their functions :
Red : completely impassable
Pink : no effect at all (free spot)
Green : no effect at all (in the game it's an excuse to made the protag fight a boss but objectively they don't do anything)
Yellow : "electrified" the player, pushing them back to the last square they were standing on (basically an impassable obstacle like the red tiles)
Orange : free to step on, also makes the player smell like oranges
Purple : sliding tiles, once stepped on the character will slide to the next tile
Blue : water tiles, can be freely stepped on UNLESS :
- the character smells like oranges (will act like red tiles - explained by the orange smell being a trigger for piranhas to attack)
- the blue tile is orthogonally adjacent to a yellow tile in which case the blue tile will be a solid wall as well (explained by the yellow tile turning the water "electrified")
is it also worth mentioning that if you slide into water (from a purple to a blue tile) while smelling like lemons, you'll hit the water, get sent back and slide across the purple tile. Basically the water doesn't just make the player stop, it goes back across the purple tile to the previous tile (before the purple tile)
COLOURS ASIDE : as shown in the image, the entrance is on the 3rd row to the left, and the whole right side is the exist IF NOT for the very top tile (which isn't an exit since it is blocked by the "machine" you can see.
--------------------------------------------------------------------------------------------------------------
Now the biggest issue I see is pretty simple, this is a LOT.
I'm quite unsure how exactly I would even begin to calculate anything and I'm afraid I haven't taken math seriously enough to take all the variables into consideration.
Is it first of all possible to calculate the odds of the puzzle being completable? If so, how long would it take? Any type of help (or thoughts) would be appreciated, I'll answer to the best of my abilities and be happy to discuss it!

