Skip to content

Auto Play - #3

Open
jcaille wants to merge 1 commit into
masterfrom
jcaille/auto_play
Open

Auto Play#3
jcaille wants to merge 1 commit into
masterfrom
jcaille/auto_play

Conversation

@jcaille

@jcaille jcaille commented Apr 12, 2020

Copy link
Copy Markdown
Collaborator

Useful for debugging - each player tries to send a valid command every 5 seconds.

Comment thread client.py
parser.add_argument('-n', '--name', default=default_name,
help='Player name')
parser.add_argument('-a', '--auto-play', action='store_true',
help='Use advanced deep-learning techniques to win against Florian and Henri')

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😏

Comment thread belote/client.py
card = game_proxy.hand[legal_index]
log.info("{} - Playing my first legal card: {}".format(self._player.name, card.code))
self._play_card(card)
except Exception as e:

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dans quel cas ca peux effectivement throw ? Si jamais tu n'a rien de légal jouer ?

@FlorianDenis
FlorianDenis force-pushed the master branch 6 times, most recently from ef98821 to b5fdc79 Compare March 1, 2021 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants