3

1

Here is the game outline:

$\hspace{2.5cm}$

There is one player. The player ($\mathscr{L}$) moves from node to node limited by the directed arrows. As the player moves, $\mathscr{G}_{\Huge\cdot}$ chooses to move in the opposite direction while $\mathscr{G}_{\circ}$ moves in the same direction as the player, all three step simultaneously. If the player makes a move that would cause the guardians to jump off the playing board they remain in place, and the player keeps his/her move. Also, if the player makes a move that would cause him/her to jump off the playing board, then he/she remains in place. The object of the game is to guide the guardians to the circle-cross ($\bigoplus$) nodes so that they individually land on each in whatever order and whatever way simultaneously. A 12-step solution to solve the puzzle has been uncovered, however, I am seeking the *shortest possible* step solution to this puzzle.

I want to be able to move a green dot from node to node with the red dots (guardians) mirroring the green dot's moves in the direction indicated and with the following rules:

$\hspace{2.5cm}$

I'm currently making a Windows application (win32 C++), but I just wanted to know if I can make such a game, and if so could someone here get me started with a basic outline that I can pickup on my own and develop into the final game.

## Baby Attempt:

```
DynamicModule[{pos1 = {x1, y1} = {2, 2}, pos2 = {x2, y2} = {2, 4},
pos3 = {x3, y3} = {2, 0}},
EventHandler[
Dynamic[Graphics[{Gray, Disk[{0, 5}, .1], Gray, Disk[{0, 4}, .1],
Gray, Disk[{0, 3}, .1], Gray, Disk[{1, 5}, .1], Gray,
Disk[{1, 4}, .1], Gray, Disk[{1, 3}, .1], Gray, Disk[{3, 5}, .1],
Gray, Disk[{3, 4}, .1], Gray, Disk[{3, 3}, .1], Gray,
Disk[{4, 5}, .1], Gray, Disk[{4, 4}, .1], Gray, Disk[{4, 3}, .1],
Gray, Disk[{1, 1}, .1], Gray, Disk[{2, 1}, .1], Gray,
Disk[{3, 1}, .1], Gray, Disk[{1, 2}, .1], Gray, Disk[{2, 2}, .1],
Gray, Disk[{3, 2}, .1], Gray, Disk[{2, 0}, .1], Gray,
Disk[{2, 3}, .1], Gray, Disk[{2, 4}, .1], Green, Disk[pos1, .25],
Red, Disk[pos2, .25], Red,
Disk[pos3, .25]}]], {"UpArrowKeyDown" :> {pos1 =
pos1 /. {{x1, y1} -> {x1 = x1, y1 = y1 + 1}} ,
pos2 = pos2 /. {{x2, y2} -> {x2 = x2, y2 = y2 - 1}} ,
pos3 = pos3 /. {{x3, y3} -> {x3 = x3, y3 = y3 + 1}}},
"DownArrowKeyDown" :> {pos1 =
pos1 /. {{x1, y1} -> {x1 = x1, y1 = y1 - 1}},
pos2 = pos2 /. {{x2, y2} -> {x2 = x2, y2 = y2 + 1}},
pos3 = pos3 /. {{x3, y3} -> {x3 = x3, y3 = y3 - 1}}},
"LeftArrowKeyDown" :> {pos1 =
pos1 /. {{x1, y1} -> {x1 = x1 - 1, y1 = y1}},
pos2 = pos2 /. {{x2, y2} -> {x2 = x2 + 1, y2 = y2}} ,
pos3 = pos3 /. {{x3, y3} -> {x3 = x3 - 1, y3 = y3}}},
"RightArrowKeyDown" :> {pos1 =
pos1 /. {{x1, y1} -> {x1 = x1 + 1, y1 = y1}},
pos2 = pos2 /. {{x2, y2} -> {x2 = x2 - 1, y2 = y2}},
pos3 = pos3 /. {{x3, y3} -> {x3 = x3 + 1, y3 = y3}}}}]]
```

I saw this and thought why not make it in Mathematica.

– Liz – 2015-05-13T02:12:52.590LocatorPane maybe? – Liz – 2015-05-13T02:19:02.747

Welcome to Mathematica.SE! I suggest the following: 1) As you receive help, try to give it too, by answering questions in your area of expertise. 2) Read the faq! 3) When you see good questions and answers, vote them up by clicking the gray triangles, because the credibility of the system is based on the reputation gained by users sharing their knowledge. Also, please remember to accept the answer, if any, that solves your problem, by clicking the checkmark sign!

– Michael E2 – 2015-05-13T02:19:20.960Your exposition of the game's rules is incomplete and obscure. Please clarify them. What are the circles with circle-pluses in them? What does the empty game board look like? what is starting the position? You refer to red dots, but don't show any; what are they? – m_goldberg – 2015-05-13T02:45:19.817

@m_goldberg, added some code. I've never used Mathematica before. – Liz – 2015-05-13T04:19:48.350

Sounds like the End Stage of The Adventure Game if so the question would be where's the Aspidistra?

– Gordon Coale – 2015-05-13T08:44:11.147