myano / jenni

jenni was a python IRC bot. Project is closed. Try Sopel instead, https://sopel.chat/
https://sopel.chat/
Other
235 stars 101 forks source link

Disallow game starting on wild card #220

Closed MJ94 closed 8 years ago

MJ94 commented 8 years ago

If a game starts on a wild card (WD4), no players can reasonably play and have to keep drawing numerous times unless they .leave and restart. The top card should only start as a colored number card.

According to the official uno rules:

"Return card to deck, shuffle, flip top card to start discard pile"

easymac commented 8 years ago

Also, after this scenario was encountered, starting a new game resulted in the following error:

IndexError: string index out of range (file "/home/jenni/jenni/modules/unobot.py", line 407, in cardPlayed)

MAGICCC commented 8 years ago

hm, found my mistake. Either wait for the PR or change your files manually https://github.com/myano/jenni/pull/221

myano commented 8 years ago

I merged this change in 16 days ago as e37a15d83df8d77b0da7faeaec0d5f640df01b38