Game working on text input