In don't hit 13 you are aiming to reduce your opponents health to 0. You do this by rolling and atttempting to stop just before reaching 12, similarly to blackjack. You will then deal or take damage equal to the difference in scores.
Very basic version of Don't hit 13. I will be adding many more features such as two player mode and cards with their own affects.
Check out my other games:
I think you should have a part where if you insert something that isn’t in the code like an if else or something that when you accidentally hit a key it says you can’t do that, and it could either go back to where you were or you just held.