09.09.2026 2. versuch
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
+5
-2
@@ -1,10 +1,13 @@
|
||||
import copy
|
||||
import pygame
|
||||
|
||||
|
||||
class MeinSpiel:
|
||||
bilder = ["Bilder/Grass.jpg","Bilder/Hase.jpg"]
|
||||
bilder = ["Bilder/Grass.jpg","Bilder/Hase.jpg","Bilder/Fuchs2.png"]
|
||||
spielfeld = []
|
||||
|
||||
|
||||
|
||||
def __init__(self, felderX, felderY):
|
||||
for x in range(felderX):
|
||||
self.spielfeld.append([])
|
||||
@@ -13,7 +16,7 @@ class MeinSpiel:
|
||||
|
||||
def anfangsKonfiguration(self):
|
||||
self.spielfeld[0][6] = 1
|
||||
self.spielfeld[13][13] = 1
|
||||
self.spielfeld[10][10] = 1
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user