By: julia on Abel Soares Siqueira
Re-posted from: https://abelsiqueira.com/blog/2023-04-27-solving-an-rpg-puzzle-with-julia/
I have a new video out where I talk about solving an RPG puzzle using Julia:
You can check the pluto notebook html here or download the notebook here.
Here’s a more fantastic setup than I used in the video:
You walk into a large room with a 3 pointed star painted on the floor.
Three triangular stones sit on top of the points of the star.
One of the points of the triangle complement the point of the star, indicating that there is a correct orientation for it.
Around the star, 3 circular stone platforms stand with a circular crank in the middle.
The crank can be turned clockwise or counter-clockwise, but it only stops at three positions: the initial position, a third of a full rotation, or two thirds of a full rotation.
Moving the cranks make the triangles move as well (I will not explain here how, see the gif below or the video).
You have to find the configuration that aligns the triangle with the star.