My p5.js implementation of the out-of-print, surprisingly fun mental-shape-translation game Ricochet Robots
Try out the latest version on my site or fiddle with the code (not always up to date) in in the p5 Editor
-
Reach the target shape with the matching color robot in as few moves as possible (the rainbow shape can be reached by any color)
-
For multiplayer, players find solutions in their heads without moving robots on screen. Once a player finds a solution path, they announce the number of moves it contains and start the timer. For up to one minute, other players can propose faster solutions. Once time is up, demonstrate the fastest valid solution on screen and collect the point for the appropriate player
-
Click or press
r
g
b
andy
to select the red/green/blue/yellow robot -
w
a
s
d
or↑
←
↓
→
or click on the same row/column in the desired direction to move -
Robots move until they hit a wall or another robot
-
Backspace
undoes move recent move,Spacebar
resets the current solution attempt, moving robots back to their marked starting positions -
Clicking center shape resets the turn and selects a new token (e.g. if the current target is trivial or too challenging to reach)
-
Full original game instructions available here
-
Board is shuffled on each page load!
*as of 05/04/24