2022-04-04 06:16:33 +00:00
|
|
|
from Board import *
|
|
|
|
|
|
|
|
class Field(object):
|
|
|
|
|
|
|
|
"""
|
|
|
|
:version:
|
|
|
|
:author:
|
|
|
|
"""
|
|
|
|
|
|
|
|
""" ATTRIBUTES
|
|
|
|
|
|
|
|
board (private)
|
|
|
|
|
|
|
|
occupied (private)
|
|
|
|
|
2022-04-14 20:48:16 +00:00
|
|
|
number (private)
|
|
|
|
|
|
|
|
color (private)
|
|
|
|
|
2022-04-04 06:16:33 +00:00
|
|
|
"""
|
|
|
|
|
2022-04-14 20:48:16 +00:00
|
|
|
def get_next_field(self, color_of_stone = "black"):
|
|
|
|
"""
|
|
|
|
Give back next field on board, dependent on the color of a stone on the current
|
|
|
|
field.
|
|
|
|
|
|
|
|
@param string color_of_stone :
|
|
|
|
@return Field :
|
|
|
|
@author
|
|
|
|
"""
|
|
|
|
pass
|
|
|
|
|
2022-04-04 06:16:33 +00:00
|
|
|
|
|
|
|
|