proof of concept made

This commit is contained in:
Samuele Lorefice
2023-11-05 16:24:31 +01:00
commit 9350c8966a
13 changed files with 838 additions and 0 deletions

24
Player.py Normal file
View File

@@ -0,0 +1,24 @@
import string
from Card import Card
class Player:
id: string = ""
name: string = ""
activeCard: Card = None
def __init__(self, id: string, name: string):
self.id = id
self.Name = name
def __str__(self):
return f"Player: {self.Name} - ID: {self.id}"
def setActiveCard(self, card: Card):
self.activeCard = card
def getActiveCard(self):
return self.activeCard