This commit is contained in:
ImFlizzyy 2022-12-23 02:11:41 +01:00
parent ad3f491a81
commit 031f2373d2
3 changed files with 8 additions and 5 deletions

View file

@ -98,8 +98,8 @@ class Matrix:
def print(self):
for i in range(self.lines):
for j in range(self.columns):
print(self.matrix[i][j], end="")
print(end="" if i < self.lines - 1 else "\r")
print(self.matrix[i][j], end = "")
print(end = "" if i < self.lines - 1 else "\r")
def set_string(self, x, y, chars):
for i in range(len(chars)):
@ -116,3 +116,4 @@ class Matrix:
for i in range(len(matrix)):
for j in range(len(matrix[i])):
self.set(self, x + j, y + i, matrix[i][j])

View file

@ -164,3 +164,4 @@ class BOT:
def __str__(self):
return self.name

View file

@ -88,3 +88,4 @@ class PLAYER:
list of cards
'''
self.cards = cards