One state and one ? cell to fill. It is the machine from the first picture in How to play, so start there if the rule table is new to you.
Compare each input with its output one cell at a time: AB → BB, ABA → BBB, AAB → BBB. Every A has become B and every B is still B. Nothing is added or removed, so the machine only has to walk to the right once and change each A on the way.
The table has one column, state 1. Reading B, it writes B back, moves right and stays in state 1: the B is left as it is and the head walks on. Reading the blank cell after the input, it stops on ✓. The ? cell is state 1 reading A, so the only question is what to do with an A.
Why not stop on ✓ right after writing B? AB would still pass, but ABA would stop after its first cell and leave BBA. Staying in state 1 keeps the machine walking until the blank stops it.
ABA should become BBB:
| Step | State | Reads | Writes | Moves | Next | Tape after |
|---|---|---|---|---|---|---|
| 1 | 1 | A | B | right | 1 | BBA |
| 2 | 1 | B | B | right | 1 | BBA |
| 3 | 1 | A | B | right | 1 | BBB |
| 4 | 1 | blank | blank | right | ✓ | BBB |
Takeaway: a cell that keeps the machine in the same state makes a loop. The same rules run on cell after cell until something else, here the blank, stops the machine.
Next: Practice 2, with two states and two cells to fill.
Two states and two ? cells, the size of a Monday or Tuesday puzzle.
Line up each input with its output: AAB → AAB, ABB → ABA, BAB → BAA, ABBAB → ABAAA, BBBB → BAAA. Everything up to and including the first B stays the same. After it, every B has become A, and every A is still A. Nothing is added or removed, so one walk to the right is enough again.
This time a B is treated in two ways: kept if it is the first one, turned into A if it comes later. The machine can only tell them apart by remembering whether it has already passed a B, and its state is its only memory. So state 1 means "no B yet" and state 2 means "a B has been seen".
They fit that plan. In both states an A is written back as A and the head moves right, and the blank cell after the input stops the machine on ✓. The ? cells are state 1 reading B and state 2 reading B.
ABBAB should become ABAAA:
| Step | State | Reads | Writes | Moves | Next | Tape after |
|---|---|---|---|---|---|---|
| 1 | 1 | A | A | right | 1 | ABBAB |
| 2 | 1 | B | B | right | 2 | ABBAB |
| 3 | 2 | B | A | right | 2 | ABAAB |
| 4 | 2 | A | A | right | 2 | ABAAB |
| 5 | 2 | B | A | right | 2 | ABAAA |
| 6 | 2 | blank | blank | right | ✓ | ABAAA |
Takeaway: a state is the machine's only memory. When what to write depends on something earlier on the tape, give that fact a state of its own.
Done with both? Play today's puzzle. It counts toward your streak.