69 lines
869 B
Python
69 lines
869 B
Python
from GameController import *
|
|
from House import *
|
|
|
|
class Player():
|
|
""" Player
|
|
:version:
|
|
:author:
|
|
"""
|
|
|
|
""" ATTRIBUTES
|
|
|
|
name (private)
|
|
|
|
color (private)
|
|
|
|
set_of_stones (private)
|
|
|
|
house (private)
|
|
|
|
"""
|
|
|
|
def __init__(self, name:str="Nobody", color:str="black"):
|
|
self.name = name
|
|
self.color = color
|
|
self.house = None
|
|
self.set_of_stones = list()
|
|
|
|
def init_house(self, board):
|
|
self.house = House(board, self.color)
|
|
|
|
def take_turn(self):
|
|
"""
|
|
|
|
|
|
:returns: author
|
|
|
|
"""
|
|
pass
|
|
|
|
def throw_dice(self):
|
|
"""
|
|
|
|
|
|
:returns: author
|
|
|
|
"""
|
|
pass
|
|
|
|
def choose_stone(self):
|
|
"""
|
|
|
|
|
|
:returns: author
|
|
|
|
"""
|
|
pass
|
|
|
|
def move_stone(self):
|
|
"""
|
|
|
|
|
|
:returns: author
|
|
|
|
"""
|
|
pass
|
|
|
|
|
|
|