Code (in a variant of BASIC) for the game Mastermind on the TI-89 calculator.