If I really want to save space, I'd use simple string. T$="0123456789ABCDE ", and index it T$[Y×4+X]. It's great that you check for winning condition. I can't do that because shuffling is optional, and the puzzle begins in solved state. BTW, that 600 bytes limit is an early Apple Macintosh reference. :)