HaysHopkins / card_games

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

card game repeat

Keafan01 opened this issue · comments

i was just playing this and realized that there might be a bug because the code kept repeating it self

Computer 1: ["*", "*"]
Computer 2: ["*", "*"]
koffi: ["T♠", "A♣"]
Table: []
------------
------------
koffi: Would you like to 'Call' the bet of 500, raise ('500 - 6570'), or 'Fold'?
call
koffi: Would you like to 'Call' the raise of 750, re-raise ('500 - 5820') or 'Fold'?
1000
koffi: Would you like to 'Call' the raise of 750, re-raise ('500 - 4070') or 'Fold'?
call
koffi: Would you like to 'Call' the raise of 500, re-raise ('500 - 3570') or 'Fold'?
500
koffi: Would you like to 'Call' and go all in or 'Fold'?
call
koffi: Would you like to 'Call' and go all in or 'Fold'?
call
koffi: Would you like to 'Call' and go all in or 'Fold'?
fold

Hey thanks a lot for the feedback!

I'll try to replicate this soon (hopefully in the next week) and see what I can do to fix it.