Inspiration
I was developing a websocket game engine with nest.js and decided to try the BAAS with convex after I saw there was a hackathon. I had to give it a try! :D
Originally inspired by the old pogo.com where you could create tables and play chess.
What it does
Just the basics now of a blackjack game you can play with multiple players. You first create a table, then join and wait for players. There is a betting phase to place bets. Due to time constraints on the hackathon I haven't implemented betting, the main issue here was a game flow with multiple players using the convex system.
How we built it
Built with react and a demo app that just provided chat. I added the game on top of it.
Challenges we ran into
Right now, deploying the app was a success on vercel but getting the basic login with Github to work on the production app seems to be a challenge.
Accomplishments that we're proud of
Proud that I got a working multiplayer blackjack game running quickly using convex, saved a lot of time not worrying about supporting a backend and concentrating on frontend.
What we learned
I learned a lot about how convex works, but I'm sure not everything.
What's next for Multiplayer Blackjack
Next up is , first of all getting Github authentication up and running on production and adding other methods of authentication. Adding more options to the table created i.e. How many players allowed, different timing to choose from, hit on soft 17, how many decks etc. Chat options, AI integration, Analytics, a better UI experience.
Also adding splits and hide the dealer card.
Still a bug or two. I have only tested 2 users playing, I have been the only design/developer/qa/devops guy so far. Going to take me a little more time unless I get a team going...
What's different about this Blackjack game
One thing is it doesn't have a traditional table that you see everywhere, where all the cards are laid out for each player. This is because I'm trying to make the game available on all devices and fit all screens. Player hands and play rotate through the table. An addition soon will be tabs to see other players hands.
Also coming soon, analytics and table/game options. My goal is to play every version of blackjack imaginable and as many decks requested when you create a table and set the options as in the casino.
Built With
- convex
- javascript
- react
Log in or sign up for Devpost to join the conversation.