Skip to content

Commit

Permalink
feat: Added some functionality to the board
Browse files Browse the repository at this point in the history
  • Loading branch information
henrinha committed Mar 12, 2024
1 parent 644ff41 commit eb26c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def placeBlock(self, block):
#block.position = [(x,y),(x,y)(x,y),(x,y)]

for gridPositions in block.getPosition(): #må ha noe bedre logikk for å fjerne gamle posisjoner
for x, y in gridPositions:
for x, y in gridPositions
self.matrix[x][y] = "O"

for gridPositions in block.getPosition():
Expand Down

0 comments on commit eb26c29

Please sign in to comment.