This commit is contained in:
alstergym
2026-09-07 09:50:06 +02:00
parent 68a636ae94
commit 4f2a1b4f98
6 changed files with 136 additions and 0 deletions
+52
View File
@@ -0,0 +1,52 @@
from Avatar import Avatar
from Fahrzeug import Fahrzeug
from Items import Items
print("Hallo zu unserem Mario Spiel!")
print("Wähle deinen Avatar:")
Mario = Avatar("Mario", 5)
print(str(Mario))
Bowser = Avatar("Bowser", 3)
print(str(Bowser))
Luigi = Avatar("Luigi", 8)
print(str(Luigi))
print("Wähle dein Fahrzeug:")
Motorrad = Fahrzeug("Motorrad", 15)
print(Motorrad)
Mario.fahrzeug_zuweisen(Motorrad)
print(str(Mario))
Motorrad.fahren()
Kart = Fahrzeug("Kart", 10)
print(Kart)
Quad = Fahrzeug("Quad", 13)
print(Quad)
print("Wähle deine Items:")
RoterPilz = Items("RoterPilz")
print(RoterPilz)