Update game_in_console (Java code)