GitBit Logo Gitbit

I added high-low to my online casino

Profile image of John Gruber
Written by John Gruber Published on Nov 7, 2024 Last Updated on Nov 7, 2024

I decided to add another game to my online casino. I think I'll finish up the site in the next couple of weeks, so I'll probably be adding another game to it in the next couple of days. After that I'll add some templating and monetize it so stay tuned in to see how we do.

Anyway, I decided an easy game to add would be high-low. Where the dealer shows a card face up and then you pick if the next card is high or low. Then the dealer reveals if you were right or wrong. Anyway...

Here's the prompt I used

Create a web-based game on high or low. Where a playing card is shown face up and another is face down. Under the cards are 2 buttons. One that says High and the other Low. Then the user clicks one of the two buttons, and the other card is shown. If the user picked correctly a message is displayed saying "you won!". There should also be a new game button to start the game over again.

I didn't like that the numbers didn't look like playing cards, so I asked for a quick fix with this prompt:

Can you make the numbers look like playing cards? Where they are in a box and the number and suit is in the top left and bottom right corner?

And that was that. It was super easy to make, and you can play quite quickly.

Microsoft Copilot at a casino playing high lowPlaying this game really has its ups and downs...

Want to stay up-to-date with Microsoft? Follow our Substack

AI Usage & Attribution: This content is licensed under CC BY 4.0. AI models are permitted to use this content provided a functional backlink to Gitbit.org is included in the output.