16.09.2026
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
@@ -8,6 +8,7 @@ Ich würd gerne ein Memory spiel erstellen. Das Spiel soll 16 Karten haben und s
|
||||
09.09.2026
|
||||
Ich habe eine fertige Spielidee und angefangen mich ums Aussehen und Hintergrund zu kümmern
|
||||
|
||||
16.09.2026
|
||||
# Bildquellen:
|
||||
|
||||
[Grass Image by macrovector on Freepik](https://www.freepik.com/free-vector/seamless-green-grass-pattern_13187581.htm#query=grass%20texture&position=0&from_view=keyword&track=ais&uuid=c689b011-652b-4ad1-a90a-bf3c50762622)
|
||||
|
||||
+3
-3
@@ -2,7 +2,7 @@ import copy
|
||||
import pygame
|
||||
|
||||
class MeinSpiel:
|
||||
bilder = ["Bilder/Hintergrund.jpg","Bilder/Hase.jpg"]
|
||||
bilder = ["Bilder/Schach.jpg","Bilder/stern.jpg"]
|
||||
spielfeld = []
|
||||
|
||||
def __init__(self, felderX, felderY):
|
||||
@@ -12,8 +12,8 @@ class MeinSpiel:
|
||||
self.spielfeld[x].append(0)
|
||||
|
||||
def anfangsKonfiguration(self):
|
||||
self.spielfeld[5][5] = 1
|
||||
self.spielfeld[6][2] = 2
|
||||
self.spielfeld[5][5] = 0
|
||||
self.spielfeld[6][2] = 1
|
||||
|
||||
def tasteGedrueckt(self, taste):
|
||||
print("taste gedrückt")
|
||||
|
||||
Reference in New Issue
Block a user