Это бесплатный софт, для ведущего интеллектуальной (спортивной) мафии, написанный на React.
- Раздавать места (номерки) за столом
- Назначать роли автоматически и вручную
- Управлять музыкой во время ночной фазы
- Выставлять игроков на голосование
- Проводить голосования и переголосовки
- Регестрировать ночные выстрелы
- Выставлять фолы за нарушения в любой момент игры
- Русский
- Английский
Адрес проекта mafia.dandev.site
This is a free software for the host of the game "MAFIA", written in React
- Deal player placement number in the table
- Add player roles manually or deal them randomly
- Controll music during the night phase
- Add players to voting lists
- Conduct voting and re-voting
- Register night shots
- Issue fouls for violations at any time during the game
- English
- Russian
Project address mafia.dandev.site
docker
anddocker-compose
should be installedyou have to register URL that can be verified with ACME challenge and is pointing to
localhost
git clone https://github.com/dancheskus/traefik
- Read how to setup and start
traefik
container inREADME.md
git clone https://github.com/dancheskus/mafia
- Rename
.env_example
to.env
and replaceREACT_APP_DOMAIN
with your URL that is pointing tolocalhost
- Add some mp3 music files to music folder
yarn
ornpm i
to install all dependenciesyarn start
ornpm start
This will start start 2 containers. NGINX container for music server and mafia contaier.
- Open your URL
Now you can modify local files and changes will be displayed in the browser
git clone https://github.com/dancheskus/mafia
yarn
ornpm i
to install all dependenciesyarn start:react
ornpm start:react
- open http://localhost:3000
docker
anddocker-compose
should be installedyou have to register URL that can be verified with ACME challenge and is pointing to your server
git clone https://github.com/dancheskus/traefik
- Read how to setup and start
traefik
container inREADME.md
git clone https://github.com/dancheskus/mafia
- Rename
.env_example
to.env
and replaceREACT_APP_DOMAIN
with your URL that is pointing tolocalhost
- Add some mp3 music files to music folder
./docker-scripts.sh prod:build
- to rebuild container./docker-scripts.sh prod
- to start container./docker-scripts.sh stop
- to stop container
Daniel Shleifman - Mafia