My terminal blackjack game

a bit of a mess codewise but its functional. would love feedback and tips, thanks in advance