This will be my first 4k entry ever… wooh!
The fake 3D renderer took about one third of the code, gameplay and AI fill the gap. The jar is exactly 4096 bytes. All rules of standard poker are implemented, you only can’t bet for ingame coins yet. Their purpose is decoration
The AI does a bruteforce calculation and manages to swap cards in a perfect way.
For those new to standard poker, or for those who know standard poker and think I messed up on the rules, here is how to play it:
- click the card-deck to get your cards
- click on the cards you want to swap, they will raise.
- click the desk to swap cards
- you’ll see who won the round
- click anything to start the new round
Here is the JAR (you’ll have to find the sourcecode yourself go for it!)
Here is the JNLP (added mime-types through .htaccess ;D)
And some screenshots:
The game might not be the most thrilling or all entries, I admit, but I’m very proud of it ;D