How to play intelligent marbles (ping @ephant & @henrikziegler)