Compare commits
1 commit
a492a0bb6a
...
307c3ff414
Author | SHA1 | Date | |
---|---|---|---|
307c3ff414 |
3 changed files with 5 additions and 5 deletions
|
@ -3,16 +3,17 @@ CARDS = {
|
||||||
"tshirt": ["XS", "S", "M", "L", "XL", "XXL", "XXXL", "?"],
|
"tshirt": ["XS", "S", "M", "L", "XL", "XXL", "XXXL", "?"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class Cards:
|
class Cards:
|
||||||
"""
|
"""
|
||||||
Cards class object
|
Cards class object
|
||||||
"""
|
"""
|
||||||
def __init__(self, card_type = "fibonacci"):
|
|
||||||
|
def __init__(self, card_type="fibonacci"):
|
||||||
self.card_type = card_type
|
self.card_type = card_type
|
||||||
self.cards = []
|
self.cards = []
|
||||||
self.create()
|
self.create()
|
||||||
|
|
||||||
|
|
||||||
def create(self):
|
def create(self):
|
||||||
"""
|
"""
|
||||||
Method to create a deck of cards
|
Method to create a deck of cards
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
|
|
||||||
class Person:
|
class Person:
|
||||||
"""
|
"""
|
||||||
Person entity
|
Person entity
|
||||||
|
@ -13,7 +14,6 @@ class Person:
|
||||||
self.uuid = None
|
self.uuid = None
|
||||||
self.create()
|
self.create()
|
||||||
|
|
||||||
|
|
||||||
def create(self):
|
def create(self):
|
||||||
if not self.uuid:
|
if not self.uuid:
|
||||||
self.uuid = uuid.uuid1()
|
self.uuid = uuid.uuid1()
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
import uuid
|
import uuid
|
||||||
|
|
||||||
|
|
||||||
class Room:
|
class Room:
|
||||||
"""
|
"""
|
||||||
Room entity
|
Room entity
|
||||||
|
@ -14,7 +15,6 @@ class Room:
|
||||||
self.attendant = []
|
self.attendant = []
|
||||||
self.create()
|
self.create()
|
||||||
|
|
||||||
|
|
||||||
def create(self):
|
def create(self):
|
||||||
"""
|
"""
|
||||||
Method to create a new room object
|
Method to create a new room object
|
||||||
|
@ -24,7 +24,6 @@ class Room:
|
||||||
|
|
||||||
return self
|
return self
|
||||||
|
|
||||||
|
|
||||||
def add_person(self, person: uuid.UUID):
|
def add_person(self, person: uuid.UUID):
|
||||||
"""
|
"""
|
||||||
Method to add a person to a room
|
Method to add a person to a room
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue