first generated code

Code aus erster Modellierung
This commit is contained in:
2022-04-04 06:16:33 +00:00
parent a960d3a6dd
commit 0e85e91f2e
5 changed files with 121 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
# coding=UTF-8
class Board(object):
"""
:version:
:author:
"""
""" ATTRIBUTES
dict_all_fields (private)
"""
+26
View File
@@ -0,0 +1,26 @@
# coding=UTF-8
from Board import *
class Field(object):
"""
:version:
:author:
"""
""" ATTRIBUTES
board (private)
occupied (private)
"""
+48
View File
@@ -0,0 +1,48 @@
# coding=UTF-8
from Player import *
from Board import *
class GameController(object):
"""
:version:
:author:
"""
""" ATTRIBUTES
list_of_players (private)
board (private)
"""
def add_player(self, name, color):
"""
@param string name :
@param string color :
@return Player :
@author
"""
pass
def remove_player(self, color):
"""
@param string color :
@return :
@author
"""
pass
+13
View File
@@ -0,0 +1,13 @@
# coding=UTF-8
class GameView(object):
"""
:version:
:author:
"""
+13
View File
@@ -0,0 +1,13 @@
# coding=UTF-8
class House(object):
"""
:version:
:author:
"""