40 wooden blocks, hand-written rigid-body physics (SAT box contacts, sequential impulses, Coulomb friction, sleeping).