PLEASE comment any errors or bugs found and I will fix it as soon as possible! BUT, before commenting them, read the full instructions and notes/credits thing!!!! important things to note *****AS OF RIGHT NOW DO NOT CLICK SPLIT. IT WILL NOT WORK***** -you can split on two cards with a value of 10 (ex. jack and 10, queen and king, etc.) -**dealer stands on 17** -ace logic is automatic, not by player choice -YOU CAN ONLY CHANGE BETS BETWEEN ROUNDS -when prompted to buy insurance, you may need to press the button twice (note: this was fixed <3) How to play blackjack: -The goal is to reach a value closer to 21 than the dealer without going over this value. Reaching a value of 21 is known as blackjack. On deal, you will receive two cards as well as the dealer but their first card is face down. You can either hit (draw another card), stand (keep your value), split (if you have two of the same cards, play another hand), or double down (double your bet and take only one extra card). After you stand, the dealer will take its turn, hitting until it busts or reaches a value of 17 or higher. If the visible card of the dealer is an ace, you will have the option to buy insurance, giving you half of your bet back if the dealer has blackjack. Important terms for the end of the game: -bust (reaching a value that is greater than 21) -blackjack (reaching a value of exactly 21) -push (reaching the same value as the dealer, you get your money back) -win (you reach a value higher than the dealer without busting or the dealer busts and you don't) ***The code inside is very messy, I apologize!!*** If you use any of my code please be sure to credit me <3
All artwork and code was made by and belongs to me. If used in external works please credit me. Asking to use it is preferable, but I do not mind if you don't as long as you provide credit. version number guide!! (Update #. Update Section. Estimated day of update completion, * indicates that it is unstable and things may be broken) CHANGELOG: -fixed bug where it displayed improper card -added double down -fixed bug where dealer card displayed improperly -fixed bug in ace logic (accidentally made it so ace logic was only active when pv>22 rather than pv>21) -added insurance!! (note, you may need to press your choice of yes or no twice) -fixed the thing where you can bet more than you have (thanks to dude for finding that!!) CHANGES IN PROGRESS: -adding split (ESTIMATED RELEASE: 09/17/2025. LIKELY WILL BE EARLIER THAN THIS DATE. I APOLOGIZE FOR THE DELAY) -fixing a bug where the dealer hits and the card covers the one before it CHANGES IN QUEUE: -quality of life improvements