|
3 years ago | |
---|---|---|
static | 3 years ago | |
templates | 3 years ago | |
.gitignore | 3 years ago | |
COPYING | 3 years ago | |
README.md | 3 years ago | |
app.py | 3 years ago | |
app.wsgi | 3 years ago | |
belote.py | 3 years ago | |
belote_jeu.py | 3 years ago | |
belote_ws.py | 3 years ago | |
db.py | 3 years ago | |
requirements.txt | 3 years ago | |
settings.example.cfg | 3 years ago | |
settings.example.py | 3 years ago |
Jeu de belote en ligne basé sur flask et socket.io.
L'ensemble de ce dépôt est sous licence GPL v3.
venv
(python3 -m venv venv
). venv/bin/activate
)pip install -r requirements.txt
)python belote.py
!belote.py
définit les routesdb.py
gère le jeu et l'enregistrement en base de donnéebelote_ws.py
gère l'interactivité (avec des websockets)templates
contient les template jinja2 pour le rendu webstatic
contient les scripts, images et feuilles de styleSi aucun utilisateur n'existe dans la base de donnée, un premier utilisateur
de login admin
et de mot de passe admin
est créé.
A vous de changer le mot de passe avant mise en ligne !
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/
Copyright (C) 2020 L. Viallon-Galinier