graph-games-proto 0.3.1763__py3-none-any.whl → 0.3.1765__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 CHANGED
@@ -15,8 +15,8 @@ from functools import cmp_to_key
15
15
  from itertools import combinations as itertools_combinations, chain
16
16
  from collections import deque
17
17
 
18
- DEFAULT_ALLOTTED_SECONDS = 6 #60
19
- INITIAL_ALLOTTED_SECONDS = 6 #120
18
+ DEFAULT_ALLOTTED_SECONDS = 60
19
+ INITIAL_ALLOTTED_SECONDS = 120
20
20
 
21
21
  class NoAction(PClass):
22
22
  pass
@@ -6651,6 +6651,21 @@ DEFAULT_LEGAL_ACTIONS_HOOK = """def handler(game, player_idx):
6651
6651
  )
6652
6652
  )
6653
6653
 
6654
+ game = append_to_legal_actions(
6655
+ game,
6656
+ LegalAction(
6657
+ player_idx=player_idx,
6658
+ name="DRAW-DOUBLE",
6659
+ instruction="draw 2 units",
6660
+ allotted_seconds=allotted_seconds,
6661
+ allotted_since_action_idx=allotted_since_action_idx,
6662
+ draw=LegalActionDraw(
6663
+ deck_idx=0,
6664
+ quantity=2,
6665
+ )
6666
+ )
6667
+ )
6668
+
6654
6669
  for card_uuid in game.decks[0].faceup_spots:
6655
6670
  game = append_to_legal_actions(
6656
6671
  game,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: graph_games_proto
3
- Version: 0.3.1763
3
+ Version: 0.3.1765
4
4
  Requires-Dist: multipledispatch==1.0.0
5
5
  Requires-Dist: pyrsistent==0.20.0
6
6
  Requires-Dist: numpy==2.2.4
@@ -1,9 +1,9 @@
1
1
  graph_games_proto/__init__.py,sha256=O5XjRfe3DlxbJn4zezDvvy7cXvL4IzIRPZCL3Y-n7s8,776
2
2
  graph_games_proto/all_types.py,sha256=IpbwftEcHS5Ewz-saFNk0lO9FvcbuHG36odRTayCXUk,54911
3
- graph_games_proto/fns.py,sha256=B76k3ZyFM-DOAAwTQF_loBnCkAT18oFG79iwLmMOZ20,239625
3
+ graph_games_proto/fns.py,sha256=nXuQqvjtDSEccUDvUJ85Sb3da0mHA5U60CNRsGKW74s,240030
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.1763.dist-info/METADATA,sha256=3OA8o12FZoNOu7YHS5lvi65eFr-2fpAGiFuLYoTetDs,188
7
- graph_games_proto-0.3.1763.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
8
- graph_games_proto-0.3.1763.dist-info/top_level.txt,sha256=-4QSrBMf_MM4BGsr2QXBpqDx8c8k_OPnzGyFjqjakes,18
9
- graph_games_proto-0.3.1763.dist-info/RECORD,,
6
+ graph_games_proto-0.3.1765.dist-info/METADATA,sha256=i06FAqcYWwwHKVJ6LKfu_NMn_vfO30n4bM7rsa58gsU,188
7
+ graph_games_proto-0.3.1765.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
8
+ graph_games_proto-0.3.1765.dist-info/top_level.txt,sha256=-4QSrBMf_MM4BGsr2QXBpqDx8c8k_OPnzGyFjqjakes,18
9
+ graph_games_proto-0.3.1765.dist-info/RECORD,,