This commit is contained in:
alstergym
2026-09-22 12:12:54 +02:00
parent 3faa07ac2c
commit 42fa07b691
4 changed files with 5 additions and 1 deletions
+5 -1
View File
@@ -2,7 +2,7 @@ import copy
import pygame
class MeinSpiel:
bilder = ["Bilder/Schach.jpg","Bilder/stern.jpg"]
bilder = ["Bilder/Schach.jpg","Bilder/stern.jpg","Bilder/sterncopy.jpg"]
spielfeld = []
def __init__(self, felderX, felderY):
@@ -14,8 +14,12 @@ class MeinSpiel:
def anfangsKonfiguration(self):
self.spielfeld[5][5] = 0
self.spielfeld[6][2] = 1
self.spielfeld[9][7] = 1
def tasteGedrueckt(self, taste):
print("taste gedrückt")
# Von 0 bis 10 in Schritten von 2
for i in range(0, 11, 5):
print(i)