softwarewithcode / casino

Roulette, Blackjack and Texas hold'em games.

Home Page:https://www.youtube.com/watch?v=PT4EozhxngU

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

casino

About

This repository contains modularized building blocks for a simple virtual casino and includes a blackjack and Texas Hold'em No Limit games.

Documentation

/utils/documentation

Workspace instructions and technical

/utils/workspace

Frontend

Current frontends are merely a reference implementations for backend testing. Repo description contains a link which shows how the UI works without building a workspace.
Frontend is reactive using Pinia and Vue combination. Frontend has no animations.
Documentation section has more information about ui-backend websocket communications. It might be useful if you want to test/study WebSockets using this project. Or maybe build brand new user interface.

Backend

Java 19 with Virtual Threads preview / JakartaEE.

Some classes have Virtual Threads parts commented out for future. + ConcurrentPreviewTestBreaksWithoutConfiguration.java as Junit test class which uses Virtual Threads and Cyclic Barriers for concurrent testing.

Future development ideas

Next game? Roulette, Omaha etc.
Database handling, authentication.

For learning

On the backend side it would be really nice to hear if you find/see some bugs especially concurrency related but all are welcomed.

About

Roulette, Blackjack and Texas hold'em games.

https://www.youtube.com/watch?v=PT4EozhxngU

License:GNU Affero General Public License v3.0


Languages

Language:Java 86.7%Language:TypeScript 8.5%Language:Vue 3.8%Language:HTML 0.5%Language:CSS 0.4%Language:Dockerfile 0.2%