On the Subject of Langton’s Anteater

I’M SO FULL FROM INSECTS YUM

This module consists of a 5×5 board of black and white cells with an ant in the middle, facing North.

Whenever the ant makes its first move, an anteater will spawn on the middle cell, also facing North. The anteater will then start moving (with the same speed as the ant) when the ant makes its second move. A move consists of turning, changing the colour of a cell, then moving, in that order.

Both the ant and the anteater make moves using these rules:

  • If the cell underneath the ant or the anteater is white, it will turn 90 degrees clockwise, change the cell’s colour to black, then move forwards one cell.
  • Otherwise, if the cell is black, it will turn 90 degrees anticlockwise, change the cell’s colour to white, then move forwards one cell.

If the ant or the anteater make a move that would take them off the board, they will wrap around to the other side of the board.

To solve this module, press the cell on which the anteater will eat the ant (i.e. the cell where the ant and anteater will collide). Pressing an incorrect cell will result in a strike.

Collide:
Solution:

Interactive Controls

Use the above interactive graphic to input the read and try out different paths.

  • In Read mode, you can press Space/Enter/0/1 on your keyboard or click individual squares to input the puzzle grid.
  • In Solve mode, select a creature on the grid and use the arrow keys or WASD on your keyboard or the arrow buttons to move a selected ant or anteater to adjacent cells.
  • The button resets the puzzle back to the starting state.
  • Use the Rotate tool to rotate an ant or anteater (shift-click for counter-clockwise), you shouldn’t need to do this as the creatures orient on each movement via the arrows.
  • The sound effects can be muted.
  • Press the Manual button to switch into Generated mode where you can have fun solving generated puzzles and watch an animation of the solution to generated puzzles.
  • Using the other buttons, you can save the current state of the grid, delete the saves, or reset everything.