53 lines
627 B
Python
53 lines
627 B
Python
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)
|
|
|
|
|