-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
28 lines (21 loc) · 769 Bytes
/
main.py
File metadata and controls
28 lines (21 loc) · 769 Bytes
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
26
27
28
from utils.assets import Display
from utils.game import Game
from utils.simulator import Simulator
from utils.helpers import DiscardEvaluator, Scoring, StateEncoder
from utils.players import *
from utils.neural_nets import *
if __name__ == '__main__':
input('... preventing program from continuing by waiting for input ...\n'
'... full-screen the terminal before continuing ...')
game = Game(
player1 = UserPlayer(),
player2 = DAPGPlayer(),
first_dealer = None,
wait_after_move = 200,
wait_after_info = True,
show_opponents_hand = False,
visuals = True,
measure_statistics = False
)
game.play()
input('... preventing program from continuing by waiting for input ...')