22.09.26
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 27 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 7.4 KiB |
Binary file not shown.
+5
-1
@@ -2,7 +2,7 @@ import copy
|
|||||||
import pygame
|
import pygame
|
||||||
|
|
||||||
class MeinSpiel:
|
class MeinSpiel:
|
||||||
bilder = ["Bilder/Schach.jpg","Bilder/stern.jpg"]
|
bilder = ["Bilder/Schach.jpg","Bilder/stern.jpg","Bilder/sterncopy.jpg"]
|
||||||
spielfeld = []
|
spielfeld = []
|
||||||
|
|
||||||
def __init__(self, felderX, felderY):
|
def __init__(self, felderX, felderY):
|
||||||
@@ -14,8 +14,12 @@ class MeinSpiel:
|
|||||||
def anfangsKonfiguration(self):
|
def anfangsKonfiguration(self):
|
||||||
self.spielfeld[5][5] = 0
|
self.spielfeld[5][5] = 0
|
||||||
self.spielfeld[6][2] = 1
|
self.spielfeld[6][2] = 1
|
||||||
|
self.spielfeld[9][7] = 1
|
||||||
|
|
||||||
def tasteGedrueckt(self, taste):
|
def tasteGedrueckt(self, taste):
|
||||||
print("taste gedrückt")
|
print("taste gedrückt")
|
||||||
|
|
||||||
|
|
||||||
|
# Von 0 bis 10 in Schritten von 2
|
||||||
|
for i in range(0, 11, 5):
|
||||||
|
print(i)
|
||||||
|
|||||||
Reference in New Issue
Block a user