Skip to content

Commit

Permalink
reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
madcpf committed Oct 5, 2023
1 parent 1d04905 commit fb6db0b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions unitary/examples/quantum_chinese_chess/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fb6db0b

Please sign in to comment.