Implement Game and CLIAdapter related classes.