a web app for playing just one, a cooperative party word game. hosted on https://just1.herokuapp.com/. you can join rooms by going directly to https://just1.herokuapp.com/room/example, for example.
inspired by betaveros/castlefall, the app relies on the players to trust each other. so anyone can kick anyone else, including themselves. joining a room with the same name as an existing player kicks and replaces them, so you can reconnect as yourself if you disconnect.
server uses express and socket.io; frontend uses react.
run npm install
. development runs on two servers, one for the socket, and one for the client. running npm start
starts the socket server, and running npm run hotloader
starts the client server.
you will need a wordlist. the server Room.js assumes you have a wordlist in the same folder named beta.json
. this wordlist should contain one object with the key words
, and value an array of a list of strings.
when you deploy, remember to change the client Room.js to have window.location.port
rather than the hardcoded development port 4001
. run npm run build
in the client folder. deployment only runs on one server, which runs when you do npm start
.
- allow clue resubmission
- score?? maybe??
- a log would be nice (a la castlefall?)
- sanitize names, clues, and guesses
- "add clues" feature after a round ends?
- add a timer? or like, a timer that counts up, resetting every phase