A few thoughts on some improvements:ġ - Store the user's rounds and bets in an uld get gigantic I understand.but it will inform the AI players that when a bet is out of the ordinary they should probably fold!Ģ - When it's the player and 1 AI opponent, the player can win simply by out-betting the AI's chip total. Any specific tips to improve the UI would be much appreciated! Please let me know if you can think of specific improvements. Writing this with react had its own challenges with state management. The app is written using mostly array manipulations and sorting, with React powering the front end. The AI is also very basic and a bit rushed, I only spent 2-3 days on it and the betting behavior can be improved. There are many improvements I would like to make - the UI is not too great, and I would like to eventually polish it to the level of commercial apps like Zynga Poker and Poker Stars, It's also very much broken on mobile with portrait mode, but should be 'okay' on landscape orientation. My main challenge was writing an algorithm that could determine the best 5-card hand out of 7 according to the different poker hands, as well as trying to rank these hands to determine their relative rank to each other. I recently finished a project in which I attempted to build the game logic for a Texas Hold'Em Poker game.