This seems to keep breaking, new glitches keep coming into existence that were not there before. when you start choose 10 cards that you want to choose then after you have chose 10 cards click the play button to start the match once started you will get four of your chosen cards and a green card in the play area that will always add to your total and you will be able to add more to the total or take away from it. the goal is to get 20 or under the closer to 20 the better. Right now the player can not win. CARDS the blue will all add the red will all subtract the mixed(red and blue) cards will add and subtract yellow is not yet added green is the deck cards that will always add to your score
Thanks to the creators of the kotor game(for the actual game), scratch(for the ability to do this), @bloopers2006 (for code), @multiverse08 (for some other code) and @spare08 (for helping me learn how to use lists).