A very basic implementation of the old QBasic game, Nibbles in JavaScript