-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
25 lines (21 loc) · 881 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
from utils.game import Board
from utils.player import Player
if __name__ == "__main__":
print("**************************************************")
print("*** WE TAKE YOUR MONEY ***")
print("*** Enjoy your experience ***")
print("**************************************************")
print("\n")
player1 = Player("Alan Turing")
player2 = Player("Rachel Thomas")
player3 = Player("Tom Crasset")
while True:
take_a_seat = input("Do you want to take a seat (Y/N) :")
if take_a_seat in ("Y", "y", "N", "n"):
if take_a_seat in ("Y", "y"):
player4 = Player(input("What's your name ? "), True)
else:
player4 = Player("Jérôme Coumont")
break
game = Board([player1, player2, player3, player4])
game.start_game()