遵循基本的21点规则: blackjack支付3比1,点击,坚持,双下和拆分经销商点击,直到17保持跟踪一些数据,为我的面向对象的编程写它,我最近是新的编码,如果有人看一下,请评论可以做得更好,谢谢。https://github.com/jamucar/terminal-blackjack'''
Terminal Blackjack game with basic rules, bet, hit
这是我用Python制作的简单Blackjack游戏。我希望有一些反馈来编写更好的代码。deal_cards(cards) print("ok bye bye have fun in the afterlife")
print_score("user") add_cards_to_hand(com_hand)
check_for_bla
这是我在python中的第一批程序之一,我真的需要一些关于如何改进的反馈。这是一个多人游戏,在每回合结束时将电脑交给下一个玩家。import timeimport operator
print('\nINVALID INPUT')#checks what the players deck adds up to #No idea why but it only works if the card