Simplely optimize the codes of GameConsole.

[ENH] Simplely optimize the codes of GameConsole.