Skip to content

Jonah987654321/WeGamble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeGamble

CC BY-NC 4.0 Non-Commercial

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.

DISCLAIMER

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.

Features

  • 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

Tech Stack

  • 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

Run Locally

Clone the project

git clone https://github.com/Jonah987654321/WeGamble.git

Go to the project directory

cd WeGamble

Rename the example env to be your actual environment file & fill in your values

cp .env.example .env

Start the docker containers using the helper script

docker/run.sh

Roadmap

  • 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

Acknowledgements

Authors

License

CC BY-NC 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

CC BY-NC 4.0

About

Online Gambling Website written in PHP - made only for private & fun purposes

Resources

License

Stars

Watchers

Forks

Contributors