refactor for read_keyboard and game and set name clase messages to display