graph-games-proto 0.3.1697__py3-none-any.whl → 0.3.1699__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- graph_games_proto/fns.py +3 -1
- {graph_games_proto-0.3.1697.dist-info → graph_games_proto-0.3.1699.dist-info}/METADATA +1 -1
- {graph_games_proto-0.3.1697.dist-info → graph_games_proto-0.3.1699.dist-info}/RECORD +5 -5
- {graph_games_proto-0.3.1697.dist-info → graph_games_proto-0.3.1699.dist-info}/WHEEL +0 -0
- {graph_games_proto-0.3.1697.dist-info → graph_games_proto-0.3.1699.dist-info}/top_level.txt +0 -0
graph_games_proto/fns.py
CHANGED
@@ -16,6 +16,7 @@ from itertools import combinations as itertools_combinations, chain
|
|
16
16
|
from collections import deque
|
17
17
|
|
18
18
|
DEFAULT_ALLOTTED_SECONDS = 20
|
19
|
+
INITIAL_ALLOTTED_SECONDS = 30
|
19
20
|
|
20
21
|
class NoAction(PClass):
|
21
22
|
pass
|
@@ -3932,6 +3933,7 @@ def is_path_open_to_player(game, path_idx, player_idx):
|
|
3932
3933
|
|
3933
3934
|
|
3934
3935
|
HOOK_NAMESPACE = {
|
3936
|
+
'INITIAL_ALLOTTED_SECONDS': INITIAL_ALLOTTED_SECONDS,
|
3935
3937
|
'DEFAULT_ALLOTTED_SECONDS': DEFAULT_ALLOTTED_SECONDS,
|
3936
3938
|
'shuffle_all_decks': shuffle_all_decks,
|
3937
3939
|
'shuffle_player_order': shuffle_player_order,
|
@@ -7134,7 +7136,7 @@ INIT_HOOK_6 = """def handler(game):
|
|
7134
7136
|
player_idx=player.idx,
|
7135
7137
|
name="INITIAL-GOAL-KEEP",
|
7136
7138
|
instruction="Your move. Please select the routes you want to keep.",
|
7137
|
-
allotted_seconds=
|
7139
|
+
allotted_seconds=INITIAL_ALLOTTED_SECONDS,
|
7138
7140
|
allotted_since_action_idx=(len(game.history) - 1),
|
7139
7141
|
keep=LegalActionKeep(
|
7140
7142
|
deck_idx=1,
|
@@ -1,9 +1,9 @@
|
|
1
1
|
graph_games_proto/__init__.py,sha256=LOpk1mGZxPWMRGrPNoXDENn7JPG6rNfhieehItW8bEA,881
|
2
2
|
graph_games_proto/all_types.py,sha256=IpbwftEcHS5Ewz-saFNk0lO9FvcbuHG36odRTayCXUk,54911
|
3
|
-
graph_games_proto/fns.py,sha256=
|
3
|
+
graph_games_proto/fns.py,sha256=_1TSlhRwtpwLbk5bHKrLPv_sHHSbWPCBwJ50kezzw6g,263497
|
4
4
|
graph_games_proto/main.py,sha256=fj2U7KcwrpZtuUhjOX5yVxY18LZvvsxDFYZ_S5mxe04,145
|
5
5
|
graph_games_proto/state.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
-
graph_games_proto-0.3.
|
7
|
-
graph_games_proto-0.3.
|
8
|
-
graph_games_proto-0.3.
|
9
|
-
graph_games_proto-0.3.
|
6
|
+
graph_games_proto-0.3.1699.dist-info/METADATA,sha256=BKDzvlucWgKvaWmzobi-y_mAVwUULSKpMR6JoQHDFD4,188
|
7
|
+
graph_games_proto-0.3.1699.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
8
|
+
graph_games_proto-0.3.1699.dist-info/top_level.txt,sha256=-4QSrBMf_MM4BGsr2QXBpqDx8c8k_OPnzGyFjqjakes,18
|
9
|
+
graph_games_proto-0.3.1699.dist-info/RECORD,,
|
File without changes
|
File without changes
|