graph-games-proto 0.3.1911__py3-none-any.whl → 0.3.1913__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 +1 -9
- {graph_games_proto-0.3.1911.dist-info → graph_games_proto-0.3.1913.dist-info}/METADATA +1 -1
- {graph_games_proto-0.3.1911.dist-info → graph_games_proto-0.3.1913.dist-info}/RECORD +5 -5
- {graph_games_proto-0.3.1911.dist-info → graph_games_proto-0.3.1913.dist-info}/WHEEL +0 -0
- {graph_games_proto-0.3.1911.dist-info → graph_games_proto-0.3.1913.dist-info}/top_level.txt +0 -0
graph_games_proto/fns.py
CHANGED
@@ -4107,15 +4107,7 @@ def calc_legal_actions3(state_kernal):
|
|
4107
4107
|
|
4108
4108
|
elif last_action.legal_action.faceup_draw:
|
4109
4109
|
faceup_draw = last_action.legal_action.faceup_draw
|
4110
|
-
|
4111
|
-
print("****************************** faceup_draw.card_uuid: ", faceup_draw.card_uuid)
|
4112
|
-
print("****************************** deck.faceup_spots: ", deck.faceup_spots)
|
4113
|
-
spot_idx = next((i for i, card_uuid in enumerate(deck.faceup_spots) if card_uuid == faceup_draw.card_uuid), None)
|
4114
|
-
print("****************************** spot_idx: ", spot_idx)
|
4115
|
-
drawn_card = deck.faceup_spots[spot_idx] if spot_idx is not None else None
|
4116
|
-
print("****************************** state_kernal.carduuid2card.keys(): ", state_kernal.carduuid2card.keys())
|
4117
|
-
print("****************************** drawn_card: ", drawn_card)
|
4118
|
-
if not state_kernal.carduuid2card[drawn_card].is_wild:
|
4110
|
+
if not state_kernal.carduuid2card[faceup_draw.card_uuid].is_wild:
|
4119
4111
|
return get_follow_up_draw_legal_actions(state_kernal, last_action)
|
4120
4112
|
|
4121
4113
|
elif last_action.legal_action.draw:
|
@@ -1,9 +1,9 @@
|
|
1
1
|
graph_games_proto/__init__.py,sha256=_EVQR-51XehfH45XZlba1WPdx3omS3Gm1nTwrgGyn2Q,667
|
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=acyAIePOzHrVPkMGQ2fdLdav0hlsdjyBaDzgXaMg_pw,192177
|
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.1913.dist-info/METADATA,sha256=TQrU0Q469uMwO53F4QTXvgQJ8O03FlNQ8BKc51tnWOs,188
|
7
|
+
graph_games_proto-0.3.1913.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
8
|
+
graph_games_proto-0.3.1913.dist-info/top_level.txt,sha256=-4QSrBMf_MM4BGsr2QXBpqDx8c8k_OPnzGyFjqjakes,18
|
9
|
+
graph_games_proto-0.3.1913.dist-info/RECORD,,
|
File without changes
|
File without changes
|