Besprechung
This commit is contained in:
@ -296,17 +296,18 @@ def start ():
|
|||||||
level = SchwierigkeitsWahl ()
|
level = SchwierigkeitsWahl ()
|
||||||
Initialisiere ()
|
Initialisiere ()
|
||||||
printFelder ()
|
printFelder ()
|
||||||
while feldWahl (gegnerFeld) !=0:
|
while True:
|
||||||
|
feldWahl (gegnerFeld)
|
||||||
|
if not zweicheck (gegnerFeld):
|
||||||
|
break
|
||||||
time.sleep (1)
|
time.sleep (1)
|
||||||
x = botwahl (eigenFeld, level)
|
botwahl (eigenFeld, level)
|
||||||
|
if not zweicheck (eigenFeld):
|
||||||
|
break
|
||||||
|
|
||||||
print ("Das Spiel hat", int((time.time()-startzeit)//60), "Minuten", int(((time.time()-startzeit)%60)//1), "Sekunden gedauert.")
|
print ("Das Spiel hat", int((time.time()-startzeit)//60), "Minuten", int(((time.time()-startzeit)%60)//1), "Sekunden gedauert.")
|
||||||
w = str (input ("Noch eine Runde? [J: Ja/Irgendwas: Nein] "))
|
w = str (input ("Noch eine Runde? [J: Ja/Irgendwas: Nein] "))
|
||||||
if w == 'J':
|
if w == 'J':
|
||||||
start ()
|
start ()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
start ()
|
start ()
|
||||||
Reference in New Issue
Block a user