I liked that Train program so much I put it in some ROM along with some other programs like memory test utilities and a Walking man program.
It required a few logic IC's and a pair of extra personality modules in a "Three Brains" project , inspired by the "Man with Two Brains" (or the vintage 1970's movie "The Thing with two Heads"), but I thought I would go one step further: