def new_game(string_board): """ Create and return a new game with all the required components. :param board: Passed board in string form that contains players and pieces. :type string :return: A new game. :rtype: Game """ board = Board() Parser.parse_board(string_board, board) console = Console(board) return Game(console)