added constructor to TextUI enabling creation of a game with filename, playername and maxrounds as params