Passages for Two Players

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

Object: visit more passages than your opponent while avoiding being stalemated (being enclosed on all four sides).


Two games are always played with identical setups. The player who had the blue man in the first game becomes the red man in the second game. The red man makes the first move. The walls of a cell rotate after it is entered.


Contributed by: Karl Scherer (January 2016)
Open content licensed under CC BY-NC-SA



The first player (red) drops his red man on an empty position. The second player (blue) then drops his blue man on any position (which may be a position with a passage).

From now on, the players alternate moving their men. A move can be in any of the four main directions as long as there is no obstacle in the way. Any passage you slide through or land on changes color, indicating that you visited them. A passage can change color only once.

If your man lands on a passage, it will be rotated by 90°. The left border shows how many passages you own at the moment.

You lose if you are stalemated, which means that your man cannot move toward any of the four main directions.

You win if you end up owning more passages than your opponent. This can happen when no unclaimed passages are left or when the players agree that no more passages can be gained by either party.


"challenge" lets you choose from:

- eight variants on the 6x6 board with fixed setups, - four variants on the 6x6 board with random setups, - two variants on the 7x7 board with random setup, and - two variants on the 8x8 board with random setup

"moves": counts the number of moves both players have played.

"back": click to go back one step.

"to start": click to go back to the starting position.

There are also three counters:

- the "unclaimed" counter that shows how many passages are not owned by either player, - the "red" counter that shows how many passages are owned by the red player, and - the "blue" counter that shows how many passages are owned by the blue player


The associated solitaire version is called "Passages Puzzle" and is also available as a Wolfram Demonstration.

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.