Boggling Poker by DarkWolf

Did you know?
Did you know that when rats are particularly happy their eyes jiggle in a behavior called "boggling"? It is super cute, but I'd imagine makes it hard for them to put on a good poker face.
Description
This is a simple game of Texas Hold'em Poker against a couple of rats. As always I wasn't able to finish everything I wanted to, so there isn't any sort of overall goal beyond taking all of your opponent's chips. Due to the time crunch and the randomness of dealing cards, there are probably a few edge case problems I didn't test, but I hope the game is a couple of cute/fun minutes for you.
PS: Try the arrow keys for a few cosmetic Easter eggs.
Updates
V1.1 - Fixed missing "%" causing the player to never have to ante up, fixed missing "var=0" allowing the player to raise with chips pulled from thin air.

| Web (Itch.io) | https://darkwolf009.itch.io/ld56-boggling-poker |
| Link | https://darkwolf009.itch.io/ld56-boggling-poker |
| Original URL | https://ldjam.com/events/ludum-dare/56/boggling-poker |
Ratings
| Overall | 495th | 3.6⭐ | 22🧑⚖️ |
| Fun | 328th | 3.65⭐ | 22🧑⚖️ |
| Innovation | 1042th | 2.325⭐ | 22🧑⚖️ |
| Theme | 666th | 3.525⭐ | 22🧑⚖️ |
| Graphics | 562th | 3.65⭐ | 22🧑⚖️ |
| Audio | 360th | 3.474⭐ | 21🧑⚖️ |
| Humor | 355th | 3.375⭐ | 22🧑⚖️ |
| Mood | 512th | 3.55⭐ | 22🧑⚖️ |
| Given | 7🗳️ | 14🗨️ |
the graphics is efficient and clean and the gameplay as well.
Good game, thanks!

If there was supposed to be an end game screen I missed it! I thought it would be funny to fold when I was the only one and soft locked it, lol.
While it was cute and fun, since these is no ante I made a fool of those rate. Wait for a good hand then raise my heart out. I don't know what they had, of course, but at least once I think I beat a flush with a higher flush. That poor mouse was raising like crazy. When I won, I think I could see the pixelated disappointment and sadness on his face.
Well executed. Add an ante and it becomes more of a challenge.
Nice game, awesome graphics, great job!
@damien-black I absolutely *love* your description of that round! Also, there isn't a proper end screen, you just a point where all of your opponents have left due to lack of chips which you hit.
There is actually small blind and big blind bet that cycle around the table along with who is the dealer, but I just tested and it looks like it is bugged, I'm guessing something with counting from the dealer's position not wrapping around. There also should be a max of 80 chips in circulation so something is going wrong there too. I'm going to take a look at those.
Just looked into the bugs. The lack of ante was a missing modulo operation in that function and the player being seat 0, so doing dealer_position+1 was effectively telling an empty chair to ante up, rather than wrapping around to the player. For the chips it seems if you raise the first chance you get in a round, it bets a negative amount because it was calculating stuff based on last round's required bet due to a missing "=0", so the player was just pulling chips out of thin air to raise people. The hand evaluation code is still jank, and I have no idea who gets a tied pot, but the ones you found seem to be the most prevalent ones and the easiest to fix. Thanks!
Both of those are tiny bug fixes so I think they are allowed per [the rules](https://ldjam.com/events/ludum-dare/rules). **Fixed version is live!**
Love me some texas hold em. I had a fun time. :)

I humbled these rats hehe
