aod / aod/zhithead

Bot doesn't play multiple cards

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
TypeScript
Stars
182
Forks
18
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.