ASI AppsWrite

Games and exercises

PsyGames

Black Box: logic puzzle rules

Black Box puzzle rules: fire beams into the box, read where each one leaves, and work out where the hidden balls are. Worked example and deduction tips.

What is Black Box?

Black Box is a deduction game with hidden objects. A number of balls are concealed inside a rectangular box, and you cannot look inside. Instead, you fire beams in from the edge and watch how they come out. A beam that passes straight through tells you one thing, a beam that bends tells you another, and a beam that never comes out tells you a third. From these clues alone you must work out where the balls are. The Black Box puzzle was created by Eric Solomon and first published as a board game by Waddingtons in 1977, and PsyGames uses the version from Simon Tatham’s Portable Puzzle Collection (MIT licence).

This page sets out the rules, explains how to play Black Box in the app, and gives a worked example together with the deductions that experienced players use.

The goal and the rules

The aim is to find the hidden balls. You do that by firing beams from positions around the edge, and each beam behaves according to a handful of rules. A beam travels in a straight line from where it starts until it reaches the opposite side of the box, where it comes out. The balls can change that in the following ways:

  • Head-on hit. A beam that meets a ball straight ahead is absorbed and never comes out. This includes a ball in the very first square the beam would enter.
  • Ball in the front-left square. If a ball sits diagonally ahead on the beam’s left, and there is no ball directly ahead, the beam turns 90 degrees to the right.
  • Ball in the front-right square. If a ball sits diagonally ahead on the beam’s right, and there is no ball directly ahead, the beam turns 90 degrees to the left.
  • Reflection. A beam that would come back out of the square where it went in is called reflected. So is a beam that would be deflected by a diagonal ball before it even enters the box.

The results are written down as you play. A beam that hit a ball head-on is marked H, a reflected beam is marked R, and any other shot gets a number, which appears both at the place you fired from and at the place where the beam emerged. A beam can be bent more than once before it comes out, and it can even be bent before it is finally absorbed.

How to play Black Box in PsyGames

PsyGames puts the task in one line: find the hidden balls from where each beam leaves the box. The app’s description does not list its controls; in the original collection you alternate between two activities. First, fire beams from the edge squares and note what comes back. Second, mark the places where you think balls sit, and compare those guesses with the beams you have already fired. In the original collection, the game lets you check your guess once you have placed the right number of balls.

The useful skill in the Black Box puzzle is choosing shots that rule out the most possibilities.

A worked example

Imagine a single ball in the first column of the box, one row below the top row. First, fire a beam from the left along the row that holds the ball. It meets the ball immediately, so you get H. Now fire from the left along the row above. The ball sits diagonally ahead of the beam’s entry point, on its right, beside the first square it would enter, so the beam is reflected before it gets going: R. The row below also gives R, for the same reason in mirror image. Together, H on one row and R on the rows either side of it point to a ball in the first column, in the row between them.

Now place the same ball in the middle of the box. A beam fired along the row above, from the left, reaches the square next to it, finds a ball in its front-right square, and turns left, which means up. It comes out at the top edge, in the column just before the ball. A beam fired along the row below turns the other way and leaves through the bottom edge. With no other balls in the way, two beams that leave through the top and bottom edges in the same column point to a ball in the row between the two entry rows, one column further along.

Solving tips and common mistakes

  1. Start with a spread of shots. Fire from several sides before you make any guess. One shot is a hint, but crossing evidence is what pins a ball down.
  2. Take H as strong evidence. A head-on hit tells you a ball lies on the straight line the beam was following, if the beam had not already turned.
  3. Read straight passes as emptiness. If a beam crosses the box without turning, its own row and the rows on either side contain no balls.
  4. Use R as an edge clue. A reflection often points to a ball right at the border, next to the entry square, although other arrangements can also produce it.
  5. Check your guess against every shot. A layout that explains most beams but fails one is simply wrong. Trace each fired beam through your guess, one at a time.
  6. Accept ambiguity. With more than four balls, different layouts may give identical results. The game compares beam results, so any layout that matches them wins.

The classic mistake in a Black Box puzzle is to guess too early. Balls beside each other can bend beams in surprising ways, so test a guess by tracing every earlier shot through it.

How Black Box differs from similar puzzles

  • Minesweeper also hides objects and gives clues, but the clues are counts printed on squares you have uncovered. Black Box clues come from paths you create.
  • Crack the Code is deduction by feedback too: each guess returns a clue and you narrow down a hidden answer.
  • Line of Sight gives numbers that describe what can be seen along rows and columns.
  • Light Up is another puzzle in which straight lines of light matter, but you place the bulbs yourself.

Black Box in PsyGames

The app’s own description is short: find the hidden balls from where each beam leaves the box. It is listed under Space. The rest of the puzzles are on the all games page.

Frequently asked questions

What is the goal of Black Box?

To find the positions of the hidden balls by firing beams from the edge of the box and watching where, and whether, each beam comes out.

What do the letters H and R mean?

H means the beam hit a ball head-on and was absorbed, so it never came out. R means the beam was reflected and came back out at the place where it went in. Any other shot gets a number, shown both where the beam entered and where it came out.

Is the solution always unique in Black Box?

Not always. In the original collection, a layout with more than 4 balls can have several arrangements that give identical results, so the game checks that your answer produces the same beam results as the hidden layout, not that the balls are in identical positions.

Who invented Black Box?

Black Box was created by Eric Solomon and published as a board game by Waddingtons in 1977, according to the documentation of Simon Tatham's Portable Puzzle Collection.

More logic puzzles

All games

PsyGames: Brain Training

Learn more: PsyGames