I hacked together this small little web app for facilitating a game of Among Us in real life.
- Assign impostors/crewmates
- Assign tasks
- Checking off tasks updates a global progress bar in real-time
Audio recordings from https://www.voicy.network/pages/among-us
This was built for personal use, but anyone is welcome to use this for hosting their own game.
You may want to modify the following properties located in src/index.js
:
TASKS
- An array of strings that consist of all possible tasks. These will be randomly assigned to players.
N_TASKS
- Number of tasks to assign each player
N_IMPOSTORS
- Number of impostors to assign each round
Start the backend with
$ npm install
$ npm start
ℹ️ Use a utility like Nodemon to automatically restart the backend upon any changes. This is useful when modifying the number of impostors or tasks.
Visit http://localhost:4046/admin to access the admin panel. There is a single button to start the game.
Pressing the start button will reset task progress, assign new tasks, and assign impostors. Press it once all players connect, otherwise you will have to press it again.
Players may access the the game at http://localhost:4046. On other computers (or phones), you will need to enter the computer's local IP or use a tunneling service like ngrok. Alternatively, you could deploy this yourself.
- Sometimes, duplicate tasks are assigned (temporary workaround is to start another game)
- On some Android phones, hiding the browser will reset its state, therefore losing your tasks