22.09.2026
This commit is contained in:
+3
-4
@@ -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")
|
||||
Reference in New Issue
Block a user