2022-07-25 10:35:07 +00:00
|
|
|
class Player():
|
|
|
|
|
2022-07-25 13:53:56 +00:00
|
|
|
def __init__(self, name):
|
2022-07-25 10:35:07 +00:00
|
|
|
self.name = name
|
|
|
|
self.markList = []
|
|
|
|
|
|
|
|
def __str__(self):
|
2022-07-25 13:53:56 +00:00
|
|
|
return "Player " + self.name + ': ' + "\n " + str(self.markList)
|
2022-07-25 10:35:07 +00:00
|
|
|
|
|
|
|
|
|
|
|
def record_mark(self, x, y):
|
|
|
|
self.markList.append((x, y))
|