2022-04-04 06:19:04 +00:00
|
|
|
from GameController import *
|
|
|
|
from House import *
|
|
|
|
|
2022-04-19 07:49:45 +00:00
|
|
|
class Player():
|
|
|
|
""" Player
|
2022-04-04 06:19:04 +00:00
|
|
|
:version:
|
|
|
|
:author:
|
|
|
|
"""
|
|
|
|
|
|
|
|
""" ATTRIBUTES
|
|
|
|
|
|
|
|
name (private)
|
|
|
|
|
|
|
|
color (private)
|
|
|
|
|
|
|
|
set_of_stones (private)
|
|
|
|
|
|
|
|
house (private)
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
2022-04-19 07:49:45 +00:00
|
|
|
def __init__(self, name:str="Nobody", color:str="black"):
|
|
|
|
self.name = name
|
|
|
|
self.color = color
|
|
|
|
self.house = House()
|
|
|
|
self.set_of_stones = list()
|
|
|
|
|
2022-04-04 06:19:04 +00:00
|
|
|
def take_turn(self):
|
|
|
|
"""
|
|
|
|
|
2022-04-19 07:49:45 +00:00
|
|
|
|
|
|
|
:returns: author
|
|
|
|
|
2022-04-04 06:19:04 +00:00
|
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
|
|
def throw_dice(self):
|
|
|
|
"""
|
|
|
|
|
2022-04-19 07:49:45 +00:00
|
|
|
|
|
|
|
:returns: author
|
|
|
|
|
2022-04-04 06:19:04 +00:00
|
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
|
|
def choose_stone(self):
|
|
|
|
"""
|
|
|
|
|
2022-04-19 07:49:45 +00:00
|
|
|
|
|
|
|
:returns: author
|
|
|
|
|
2022-04-04 06:19:04 +00:00
|
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
|
|
def move_stone(self):
|
|
|
|
"""
|
|
|
|
|
2022-04-19 07:49:45 +00:00
|
|
|
|
|
|
|
:returns: author
|
|
|
|
|
2022-04-04 06:19:04 +00:00
|
|
|
"""
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
|