diff --git a/unitary/examples/quantum_chinese_chess/board.py b/unitary/examples/quantum_chinese_chess/board.py index 1580ec5f..bcbe83b5 100644 --- a/unitary/examples/quantum_chinese_chess/board.py +++ b/unitary/examples/quantum_chinese_chess/board.py @@ -29,11 +29,13 @@ class Board: """Board holds the assemble of all pieces. Each piece could be either in classical or quantum state.""" - def __init__(self, board: alpha.QuantumWorld, current_player: int, king_locations: List[str]): + def __init__( + self, board: alpha.QuantumWorld, current_player: int, king_locations: List[str] + ): self.board = board self.current_player = current_player self.king_locations = king_locations - self.lang = Language.EN # The default language is English. + self.lang = Language.EN # The default language is English. def set_language(self, lang: Language): self.lang = lang