Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make game_handler work using zulip_terminal #315

Open
amanagr opened this issue Feb 4, 2018 · 1 comment
Open

Make game_handler work using zulip_terminal #315

amanagr opened this issue Feb 4, 2018 · 1 comment
Labels

Comments

@amanagr
Copy link
Member

amanagr commented Feb 4, 2018

Currently tictactoe and connect_fout bots are not working using the zulip_terminal <bot-name> method.
It raises following error for $ zulip_terminal tictactoe:

Traceback (most recent call last):
  File "/home/a/python-zulip-api/zulip-api-py3-venv/bin/zulip-terminal", line 11, in <module>
    load_entry_point('zulip-bots', 'console_scripts', 'zulip-terminal')()
  File "/home/a/python-zulip-api/zulip_bots/zulip_bots/terminal.py", line 57, in main
    message_handler.initialize(bot_handler)
  File "/home/a/python-zulip-api/zulip_bots/zulip_bots/game_handler.py", line 137, in initialize
    self.email = self.bot_handler.email
AttributeError: 'TerminalBotHandler' object has no attribute 'email'
amanagr added a commit to amanagr/python-zulip-api that referenced this issue Feb 4, 2018
Add conf info for tictactoe and connect_four bots
Fixes zulip#315
@roberthoenig
Copy link
Collaborator

Thanks for the report @amanagr!

amanagr added a commit to amanagr/python-zulip-api that referenced this issue Feb 5, 2018
amanagr added a commit to amanagr/python-zulip-api that referenced this issue Feb 5, 2018
amanagr added a commit to amanagr/python-zulip-api that referenced this issue Feb 5, 2018
amanagr added a commit to amanagr/python-zulip-api that referenced this issue Feb 5, 2018
amanagr added a commit to amanagr/python-zulip-api that referenced this issue Feb 6, 2018
amanagr added a commit to amanagr/python-zulip-api that referenced this issue Feb 16, 2018
Provide multiplayer support on zulip-terminal. Players
can add an option `-cp` argument at the end of their move
to change to the second player.

Fixes zulip#315
amanagr added a commit to amanagr/python-zulip-api that referenced this issue Feb 17, 2018
Provide multiplayer support on zulip-terminal. Players
can add an option `-p <name>` argument at the end of their move
to change to any player they want.

Fixes zulip#315
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants