Cups and peas puzzles

History

Cups and Peas is a variant of Andrea's tilt mazes. Andy Williams described
an idea to me and I misunderstood it.
I wrote a Java Applet based on that misconception and Andrea designed a
set of puzzles for it © Andrea, 2002-2003.
This JavaScript incarnation accepts the same puzzle definitions.

Aim

Fill all the cups simultaneously with peas of their respective colour.
Any black cups will be empty when all the peas rest in their own cups.

Controls

Use the Menu drop-list to select a puzzle (you may need to scroll the panel).

Buttons

Use the N E W S buttons to tilt the tray.
Use Actions/Reset to reset the current puzzle.

Observations

When the tray is tilted, unobstructed peas travel in the tilt direction.
Immediately before before that, empty cups rotate to face the moving peas,
however occupied cups turn in the opposite direction releasing their contents.

Size

You may wish to enlarge the play area.
Just drag the bottom right corner to change the size.