22.09.2026

This commit is contained in:
alstergym
2026-09-22 12:08:25 +02:00
parent f1025115d2
commit 1e8b750acf
9 changed files with 7 additions and 5 deletions
+3 -4
View File
@@ -4,7 +4,7 @@ import pygame
class MeinSpiel:
bilder = ["e-To-Otto-Hasenspiel/Bilder/Grass.jpg","e-To-Otto-Hasenspiel/Bilder/Game_snake_head.xcf","e-To-Otto-Hasenspiel/Bilder/game_snake_body.xcf","e-To-Otto-Hasenspiel/Bilder/game_melon.xcf"]
bilder = ["Bilder/Grass.jpg","Bilder/monster_white_top.xcf", "Bilder/monster_white_bottom.xcf"]
spielfeld = []
@@ -15,9 +15,8 @@ class MeinSpiel:
self.spielfeld[x].append(0)
def anfangsKonfiguration(self):
self.spielfeld[5][5] = 1
self.spielfeld[4][5] = 2
self.spielfeld[7][5] = 3
self.spielfeld[4][5] = 1
self.spielfeld[4][6] = 2
def tasteGedrueckt(self, taste):
print("taste gedrückt")