zhithead icon indicating copy to clipboard operation
zhithead copied to clipboard

Bot doesn't play multiple cards

Open aod opened this issue 3 years ago • 0 comments

The bot currently doesn't play multiple cards at all. There should be a random chance of the bot playing multiple cards when possible.

Things to change:

https://github.com/aod/zhithead/blob/8399216c59268755f802d38aa21e0e639dc42829/src/bot.ts#L8-L15

Return an amount of cards when possible at a random chance.

https://github.com/aod/zhithead/blob/8399216c59268755f802d38aa21e0e639dc42829/src/state/services/bot.service.ts#L17-L25

Use that value returned by the bot function and pass it to the state machine.

aod avatar Sep 13 '22 14:09 aod