Van Gam is a simple game with an interesting solution set. The winning sequence pairs are formed by certain mutually exclusive sequences, using the golden mean as an irrational generator.
The game is an abstract game of alternating turns. The player (and the computer) select a pair of numbers to move to one of two "piles". When one pile has no correctly matched pair, the game ends. Van Gam, subtitled Van Wythoff's Game, was written by Alan Brown and published as type-in source code in Creative Computing Vol. 4, No. 1, January/February 1978.