Skip to content

Commit

Permalink
Fixed board print.
Browse files Browse the repository at this point in the history
  • Loading branch information
ualvesdias committed Dec 18, 2024
1 parent c689960 commit 95eeaf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Board.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def printBoard(self):
print(' 0 1 2 ')
boardPieces = [' ', '#', '@']
for i in range(3):
print(f'{i} | {boardPieces[self.board[i,0]]} | {boardPieces[self.board[i,1]]} | {boardPieces[self.board[i,2]]}')
print(f'{i} | {boardPieces[self.board[i,0]]} | {boardPieces[self.board[i,1]]} | {boardPieces[self.board[i,2]]} |')

def getBoardState(self):
self.state = ''
Expand Down

0 comments on commit 95eeaf4

Please sign in to comment.