Changed seed to None and removed blank in the_end()
This commit is contained in:
parent
497ffd80c8
commit
8f46a66bcb
2
game.py
2
game.py
|
@ -93,7 +93,7 @@ def choose_loser(all_results):
|
||||||
" für eine neue Runde oder 'q' zum Beenden. ", [])
|
" für eine neue Runde oder 'q' zum Beenden. ", [])
|
||||||
|
|
||||||
|
|
||||||
def roll_dice(number=1, faces=6, seed=3.8):
|
def roll_dice(number=1, faces=6, seed=None):
|
||||||
"""
|
"""
|
||||||
Throws a certain number of dice with a certain number of faces.
|
Throws a certain number of dice with a certain number of faces.
|
||||||
|
|
||||||
|
|
|
@ -78,5 +78,5 @@ def the_end():
|
||||||
This functions prints the end screen.
|
This functions prints the end screen.
|
||||||
return: None
|
return: None
|
||||||
'''
|
'''
|
||||||
print("--------------------------\n\/\/\/\ SPIEL ENDE /\/\/\/\n--------------------------")
|
print("--------------------------\n\/\/\/\ SPIELENDE /\/\/\/\n--------------------------")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user