移除无效代码

This commit is contained in:
zhiyang7 2021-12-22 18:07:43 +08:00
parent 515da982a1
commit d5401cefc9
1 changed files with 0 additions and 5 deletions

5
douzero/env/env.py vendored
View File

@ -893,11 +893,6 @@ def _get_obs_general(infoset, position):
landlord_down_num_cards_left = _get_one_hot_array(
infoset.num_cards_left_dict['landlord_down'], 25)
other_handcards_left_list = []
for pos in ["landlord", "landlord_up", "landlord_front", "landlord_down"]:
if pos != position:
other_handcards_left_list.extend(infoset.all_handcards[pos])
landlord_played_cards = _cards2array(
infoset.played_cards['landlord'])