Virtual poker chips for real poker.
The purpose of the app is to allow people to play poker with actual cards with their friends without the need for lugging round a case of chips or betting with smarties and peanuts.
One player setups the game choosing the starting chips, whether to use blinds, what the starting blinds are and the blind interval. They will be given a unique code for their game with which other players will use to join the game from their devices. The host will have the chance to arrange the players in the order they are sitting.
When the game starts all players place their phones in-front of them and when it is their turn they are presented with the options fold, check, call or bet (with additional options such as minimum bet, 1/2 the pot, the pot and maximum) as well as a slider to set any amount they choose.
The server is written in Flask.
In the server directory create an environment (optional) and install the dependencies in requirements.txt (required) with
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
python run.py`
# OR...
gunicorn run:app
In the server directory:
docker build . -t chipz-server:latest
docker run -p 5000:5000 chipz-server
The app is written in React Native with the Expo framework.
In the app directory, install the dependencies (required) and run with expo/npm/yarn
npm install
expo start
Then download the expo app on your physical mobile phone or follow the instructions to get it running in an emulator on your laptop.