jh0ker / mau_mau_bot

Telegram Bot that allows you to play Mau Mau (UNO) via inline queries
GNU Affero General Public License v3.0
312 stars 231 forks source link

Randomly choose color when player who played +4 or wildcard get skipped #64

Open eaocto opened 5 years ago

eaocto commented 5 years ago

Before, if this condition happens then players would have to keep drawing until someone get the same card that was played by the skipped player.

DO97 commented 5 years ago

Is it possible to show the randomly choosed color?

Bug - In this case the next player will not draw four cards.

jh0ker commented 5 years ago

Hey, thanks for your contribution! It would be cool to have this also for players that leave the game

eaocto commented 5 years ago

@DO97 i have added randomed color message. Also now the next player will properly get +4

@jh0ker i've extended this to leaving player

There's a known bug; if +4 was played and the player left and the next player call bluff, it will be targeted to the player before the leaving player.

DO97 commented 5 years ago

Thank you!

@eaocto Does it work when a player get automatically skipped in Sanic mode (I mean the message of the random color)?

Is it possible to also add this function in case a player is kicked from the game?

Do you have a Telegram username?