From 7377f74d927c5999edbf00a300b9787d16fd7ec9 Mon Sep 17 00:00:00 2001 From: RomulAugustus <87079566+RomulAugustus@users.noreply.github.com> Date: Mon, 25 Jul 2022 13:35:07 +0300 Subject: [PATCH] made the base --- Player.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Player.py b/Player.py index e69de29..ef6e624 100644 --- a/Player.py +++ b/Player.py @@ -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)) \ No newline at end of file