Godot Web version released!


I am pleased to announce that the initial Godot 4.5 port of the Cocos2dx Windows version of the game is available to play in the browser!  This is a minimal playable version of the original game with some additional gameplay juice.  Currently you can play a multi-table 100 player tournament to completion or spectate the rest of the tournament if you bust out early.  I've added improved shader effects for winner and player turn as well as poker chips for betting and the pot!

There currently is no auto-save feature so you have to keep the browser session open and not refresh the page if you want to finish out the tournament.  It usually takes around 300 hands to win the tournament with the current blind speeds, tournament size, and AI mix.

The GDExtension wrapper approach I took to porting the original game has worked well.  I had a clean C++ interface for my core poker library so was able to just create an adapter layer for GDExtension to expose the core functionality to Godot and script the UI and gameplay logic in GDScript.  The webassembly version runs well but is a bit high on the CPU usage side currently when just idling.  I played around with frame rate caps and idle sleep values.  Interestingly, capping the framerate actually made things worse because of all the coordination overhead with the browser animation frames (spiked CPU to 100%) so leaving it uncapped keeps it around 10%.  What did help was enabling low processor mode which allows extra sleeps and reduces the CPU usage slightly.

Roadmap

  • Poker Sounds
  • UI notifications (table breaking, player moved, new players join table, blinds increasing)
  • Main Menu
  • Tournament Standings 
  • Tournament Settings
  • Tournament auto-save and continue
  • Game Options
  • Customize player name
  • Hand History Table scene (Table history)
  • Hand History Individual scene (Specific player history)
  • AI enhancements
  • Additional Visual FX and animations

Files

tournament_poker.zip Play in browser
25 days ago

Get Tournament Poker

Leave a comment

Log in with itch.io to leave a comment.