when entering something else than 'q', consider it a move
match final output against a regexp to activel not care about spaces after the prompt
add main loop skeleton and test
use MainLoop in Ttt.main