Rocks and bamboo

See also

Implementation examples: