This commit is contained in:
alstergym
2026-09-29 12:08:12 +02:00
parent 3cb8a0be0a
commit 652f99c5b4
2 changed files with 15 additions and 3 deletions
+10 -2
View File
@@ -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)