This is attempt to create place, where group of friends can host Mafia Party Game online.
My primary goal is to remove the need for Game Master who coordinates game so that everybody can actively participate in game.
"Working" demo can be found here with almost always up-to-date version from develop branch.
Frontend: Angular 9
Backend: Node express
I've decided to use SocketIO (Websocket Client) for communication between webpage and server
- Implement custom logic into game designed by me and my friends - action cards - to diversify the gameplay
- Enable translation - add I18n service and english language - currently everything is in my native language - polish
npm install
in main directory and insidesocketio-node
directory- Change redirectUrl
redirectUrl
with your personal site - Change SOCKET_ENDPOINT
SOCKET_ENDPOINT
with your personal site
- server:
- For easy testing i created some fake data, to use it change development to
true
Start server with:node index.js
- front:
ng serve
and navigate tohttp://localhost:4200/
- server:
- Set development to
false
- Start index.js with
node index.js
- front:
ng build --prod