Online Gambling Website written in PHP - made only for private & fun purposes (localization is German!). The website is still WIP so there may be UI Elements with no implemented logic.
This project was created solely for educational and entertainment purposes.
It is not intended to be used for real-money gambling or any commercial activities.
- No Real-Money Use: Using this code for real-money gambling, betting, or any commercial gambling platforms is strictly prohibited.
- Not a Gambling Service: This project does not promote or encourage gambling. It is a simulation intended for learning and experimentation only.
- No Commercial Use: You may not sell, monetize, or otherwise use this software in any product or service that generates revenue.
- Disclaimer of Liability: The author assumes no responsibility or liability for any damages, losses, or legal consequences arising from the use of this software.
- Gambling Addiction Warning: Gambling can be addictive. If you or someone you know struggles with gambling, please seek professional help.
Refer to the LICENSE file for details about usage permissions and restrictions.
- Implemented games:
- Roulette
- Blackjack
- Slots (not fully finished)
- Hit the nick (Random 1:9 chance)
- Poker (WIP)
- Leaderboard
- Playerstats like total playtime, winstreak, loosestreak, total wins, etc.
- Modular websocket server design for game backend
- Robust websocket client written implementing disconnects, reconnects and event handling
- Websocket using WSS or WS protocol (SSL support)
- Partial responsive optimization
- The project is mainly written in PHP
- Using my own OmniRoute framework for URL Routing & utility purposes
- For icons, fontawesome is used
- The rest of the frontend is written in HTML with plain CSS & JS
- The websocket server is written in PHP using Ratchet
- Logging is realized with Monolog
- Running & Deployment is setup via docker compose
Clone the project
git clone https://github.com/Jonah987654321/WeGamble.gitGo to the project directory
cd WeGambleRename the example env to be your actual environment file & fill in your values
cp .env.example .envStart the docker containers using the helper script
docker/run.sh- Daily login streak with rewards
- Overall minor UX/UI improvements
- Improve mobile optimization
- Social options like money transfer/profile images/messaging
- Implement more games like Crasher or multiplayer Poker
- Admin Dashboard
- Playing card image files by Byron Knoll
- Gambling icon created by Freepik - Flaticon
- Blackjack icon created by smashingstocks - Flaticon
- Casino-roulette icon created by Freepik - Flaticon
- Hit icon created by Freepik - Flaticon
- Slot machine icon created by iconixar - Flaticon
- User icon created by Smashicons - Flaticon
This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.
