https://github.com/jbowens/codenames
Play codenames online
https://github.com/jbowens/codenames
board-game codenames
Last synced: about 1 month ago
JSON representation
Play codenames online
- Host: GitHub
- URL: https://github.com/jbowens/codenames
- Owner: jbowens
- Created: 2016-01-31T05:15:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-04T15:53:24.000Z (8 months ago)
- Last Synced: 2024-11-07T03:42:20.495Z (6 months ago)
- Topics: board-game, codenames
- Language: Go
- Homepage: https://www.horsepaste.com
- Size: 1.78 MB
- Stars: 626
- Watchers: 13
- Forks: 207
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# codenames
[](https://godoc.org/github.com/jbowens/codenames)
Codenames implements a web app for generating and displaying boards for the Codenames board game. Generated boards are shareable and will update as words are revealed. The board can be viewed either as a spymaster or an ordinary player.
A hosted version of the app is available at [www.horsepaste.com](https://www.horsepaste.com).

## Building
The app requires a [Go](https://golang.org/) toolchain, node.js and [parcel](https://parceljs.org/) to build. Once you have those setup, build the application Go binary with:
```
go install github.com/jbowens/codenames/cmd/codenames
```Then from the frontend directory, install the node modules:
```
npm install
```and start the app (listens to changes)
```
npm start
```or build the app
```
npm run build
```### Docker
Alternatively, the repository includes a Dockerfile for building a docker image of this app.
```
docker build . -t codenames:latest
```The following command will launch the docker image:
```
docker run --name codenames_server --rm -p 9091:9091 -d codenames
```The following command will kill the docker instance:
```
docker stop codenames_server
```