29.9.
This commit is contained in:
+10
-2
@@ -15,8 +15,16 @@ class MeinSpiel:
|
||||
|
||||
def anfangsKonfiguration(self):
|
||||
self.spielfeld[0][13]=0
|
||||
|
||||
|
||||
|
||||
# for i in range(3):
|
||||
# x = random.randint(0, len(self.spielfeld) - 1)
|
||||
# y = random.randint(0, len(self.spielfeld) - 1)
|
||||
|
||||
# while self.spielfeld[x][y] != 0:
|
||||
# x = random.randint(0, len(self.spielfeld) - 1)
|
||||
# y = random.randint(0, len(self.spielfeld) - 1)
|
||||
|
||||
# self.spielfeld[x][y] = 1
|
||||
|
||||
def tasteGedrueckt(self, taste):
|
||||
kontrollfeld = copy.deepcopy(self.spielfeld)
|
||||
|
||||
Reference in New Issue
Block a user