You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the Bridge environment in RLCard and made a small modification to the get_payoffs method to print the selected bid at the end of the game. The code modification I made is as follows:
def get_payoffs(self):
''' Get the payoffs of players.
Returns:
(list): A list of payoffs for each player.
'''
round = self.game.round
bid = self.game.round.contract_bid_move
print(bid)
return self.bridgePayoffDelegate.get_payoffs(game=self.game)
However, I have noticed that the bid selection is almost always the same, specifically 7NT (No Trump), regardless of the situation. Below is a sample of the output printed by my code:
E bids 7NT
E bids 7NT
N bids 7NT
N bids 7NT
N bids 7NT
S bids 7NT
N bids 7NT
E bids 7NT
E bids 7NT
W bids 7NT
N bids 7NT
N bids 7NT
W bids 7NT
S bids 7H
S bids 7NT
E bids 7NT
N bids 7NT
N bids 7NT
E bids 7NT
As you can see, the bid is almost always 7NT (No Trump), with only a few exceptions (like 7H). This seems like an issue since bids should vary depending on the game state, the hands of the players, and other factors.
Steps to Reproduce:
Use the RLCard Bridge environment.
Modify the get_payoffs method to print the selected bid
Run several games and observe the output of the bid.
Expected Behavior:
The bid should vary based on the game state, and not always default to 7NT (No Trump). The agents should be making bids based on their hand strength, position, and other factors relevant to the Bridge game.
Actual Behavior:
The bid is almost always 7NT (No Trump), with very few instances of other bids like 7H (Hearts).
The text was updated successfully, but these errors were encountered:
I am using the Bridge environment in RLCard and made a small modification to the get_payoffs method to print the selected bid at the end of the game. The code modification I made is as follows:
However, I have noticed that the bid selection is almost always the same, specifically 7NT (No Trump), regardless of the situation. Below is a sample of the output printed by my code:
As you can see, the bid is almost always 7NT (No Trump), with only a few exceptions (like 7H). This seems like an issue since bids should vary depending on the game state, the hands of the players, and other factors.
Steps to Reproduce:
Expected Behavior:
The bid should vary based on the game state, and not always default to 7NT (No Trump). The agents should be making bids based on their hand strength, position, and other factors relevant to the Bridge game.
Actual Behavior:
The bid is almost always 7NT (No Trump), with very few instances of other bids like 7H (Hearts).
The text was updated successfully, but these errors were encountered: