09.09.2026

This commit is contained in:
alstergym
2026-09-09 10:58:45 +02:00
parent 6fe19d0fa8
commit 795807053a
7 changed files with 94 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import copy
import pygame
class MeinSpiel:
bilder = ["Bilder/Grass.jpg","Bilder/Hase.jpg","Bilder/loewe.jpeg"]
spielfeld = []
def __init__(self, felderX, felderY):
for x in range(felderX):
self.spielfeld.append([])
for y in range(felderY):
self.spielfeld[x].append(0)
def anfangsKonfiguration(self):
self.spielfeld[5][5]=1
self.spielfeld[2][6]=2
def tasteGedrueckt(self, taste):
print("taste gedrückt")