A Prolog implementation of a linear peg jump game.