aod / aod/zhithead

Bot doesn't play multiple cards

Offen
#5 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement good first issue
Vorherrschende Sprache
TypeScript
Sterne
182
Forks
18
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.