Informatik10/maedn/Player.py

69 lines
869 B
Python
Raw Normal View History

2022-04-04 06:19:04 +00:00
from GameController import *
from House import *
class Player():
""" Player
2022-04-04 06:19:04 +00:00
: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
2022-04-19 08:15:33 +00:00
self.house = None
self.set_of_stones = list()
2022-04-19 08:15:33 +00:00
def init_house(self, board):
self.house = House(board, self.color)
2022-04-04 06:19:04 +00:00
def take_turn(self):
"""
:returns: author
2022-04-04 06:19:04 +00:00
"""
pass
def throw_dice(self):
"""
:returns: author
2022-04-04 06:19:04 +00:00
"""
pass
def choose_stone(self):
"""
:returns: author
2022-04-04 06:19:04 +00:00
"""
pass
def move_stone(self):
"""
:returns: author
2022-04-04 06:19:04 +00:00
"""
pass