Framartin / dixio

Implementation of famous board game Dixit in Python with Flask-SocketIO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DixIO

KISS implementation of famous board game Dixit in Python with Flask-SocketIO

Created with love and care during the COVID-19 pandemic to be able to play with family and friends 😷💌🏩

Features

  • KISS: no account, no lobby, no password. Just share your game link to your friends
  • Support multiple games from same browser
  • No database, no flat-file, the current games are loaded on RAM.

Limitations

  • Not possible to change browser during a game

Set up you own server

Installation

  • Install Python3.7+.
  • Create a virtual environment
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
  • Configure the server:
    • Set a strong SECRET_KEY, for example by running python -c 'import os; print(os.urandom(16))'
    • Make sure that DEBUG is set to False
  • You may need the Deployment section of the Flask-SocketIO documentation

Run the server

. venv/bin/activate
python app.py

About

Implementation of famous board game Dixit in Python with Flask-SocketIO

License:GNU General Public License v3.0


Languages

Language:Python 54.8%Language:HTML 43.6%Language:CSS 1.4%Language:Procfile 0.1%