made the base

This commit is contained in:
RomulAugustus 2022-07-25 13:35:07 +03:00
parent e7f1733a8a
commit 7377f74d92

View File

@ -0,0 +1,13 @@
class Player():
def __init__(self, name, color):
self.name = name
self.color = color
self.markList = []
def __str__(self):
return "Player " + self.name + ': ' + "Color - " + self.color + "\n " + str(self.markList)
def record_mark(self, x, y):
self.markList.append((x, y))