Game works in command line