Can GenAI help you win in Vegas? (2026)

No! Thanks for reading. Still here? Cool. So way back in 2023, I built a little demo that I thought was kinda cool. Early in 2023 I had used Alpine.js and the excellent Deck API to build a simple web-based Blackjack game: Creating a Blackjack Game with Alpine.js and the Deck of Cards API. I then took that demo and connected to Google’s GenAI API, which back then was named Palm: Can GenAI help you win in Vegas?. It’s been a few years and I thought I’d take a stab at it again, this time making use of Chrome’s Prompt API. Technically I’d have much better luck using a bleeding edge Gemini model via a serverless function, and I may still take a stab at that later, but... more →
Posted in: JavaScript