Code Monkey home page Code Monkey logo

loveletter's People

Contributors

kst179 avatar nkruglikov avatar ser398 avatar sserov avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

loveletter's Issues

Падает бот

Traceback (most recent call last):
File "bot.py", line 160, in
bot.polling(none_stop=True)
File "/opt/anaconda3/lib/python3.5/site-packages/pyTelegramBotAPI-2.3.1-py3.5.egg/telebot/init.py", line 222, in polling
File "/opt/anaconda3/lib/python3.5/site-packages/pyTelegramBotAPI-2.3.1-py3.5.egg/telebot/init.py", line 246, in __threaded_polling
File "/opt/anaconda3/lib/python3.5/site-packages/pyTelegramBotAPI-2.3.1-py3.5.egg/telebot/util.py", line 103, in raise_exceptions
File "/opt/anaconda3/lib/python3.5/site-packages/six.py", line 686, in reraise
raise value
File "/opt/anaconda3/lib/python3.5/site-packages/pyTelegramBotAPI-2.3.1-py3.5.egg/telebot/util.py", line 54, in run
File "bot.py", line 145, in text_message
game.select_victim(message.text)
File "/home/kst179/Games/LoveLetter/gameclasses.py", line 144, in select_victim
if self.dealer.new_card.need_guess:
AttributeError: 'NoneType' object has no attribute 'need_guess'

Бароны

Возможно, стоит все-таки показывать карту того, кто выбил тебя бароном, чтобы все было честно.

Сброшенные карты

Для компактности, возможно, стоит выводить их в виде:
Стражница (3)
Служанка (1)
Принц (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.