This is one of the favourite board games among my friends, but no one wants to be the driver. So I made this web application to be the driver.
WhoIsSpy.mp4
To run the dev game (which is tested among our gang of six and we had great fun)
$ git clone https://github.com/niuniuanran/WhoIsSpy.git
Option 1 - prerequisite: go 1.16
$ cd WhoIsSpy/api
$ go run .
Option 2 - prerequisite: docker
$ cd WhoIsSpy/api
$ docker build --tag spy-api .
$ docker run -p 8080:8080 spy-api
Start the front end spa:
$ cd WhoIsSpy/spa
$ npm install
$ npm start
- Get your PC and all the group's phones connected to the same WiFi network
- In the
WhoIsSpy/spa/.env
file, update theREACT_APP_API_BASE_URL
value to be your PC's private IP address - Restart the front end
- Enjoy!
I am working to make the game more resilient when a player leaves the room. Progress is kept in my journal Hold my game together when people leaves room