codenames
Realtime webapp implementation of the classic social word game, Codenames, designed to be played on a TV and mobile devices. Based on a project by sprek.
Rules
Rules for codenames can be found here.
Development
The app uses flask as its back-end and webpack as a front-end dev server.
Flask Server
# optional: use a virtualenv
virtualenv venv
source venv/bin/activate
# install python dependencies
pip install -r requirements.txt
# run the flask server
npm run flask
Webpack
# install dependencies
npm install
# run webpack dev server with hot reload at localhost:8080
npm run dev
Production
Build
# install dependencies
npm install
pip install -r requirements.txt
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --report
# start the flask server
npm run flask
TODO
- Adjust colors for flipped cards on Spymaster view
- Add a turn timer/turn tracker
- Streamline install and build