From 45b2fa4c43cfe60c2b127dd9792d904a81236cc9 Mon Sep 17 00:00:00 2001 From: RomulAugustus <87079566+RomulAugustus@users.noreply.github.com> Date: Mon, 25 Jul 2022 17:47:19 +0300 Subject: [PATCH] added get_name() --- Player.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Player.py b/Player.py index ea00f49..9c61d58 100644 --- a/Player.py +++ b/Player.py @@ -8,5 +8,9 @@ class Player(): return "Player " + self.name + ': ' + "\n " + str(self.markList) + def get_name(self): + return self.name + + def record_mark(self, x, y): self.markList.append((x, y)) \ No newline at end of file