Codenames board game
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| assets | ||
| cmd/horsepaste | ||
| frontend | ||
| scripts | ||
| .gitignore | ||
| .travis.yml | ||
| Dockerfile | ||
| frontend.go | ||
| game.go | ||
| game_test.go | ||
| go.mod | ||
| go.sum | ||
| README.md | ||
| screenshot.png | ||
| server.go | ||
| store.go | ||
| store_test.go | ||
| wordset.go | ||
| wordset_test.go | ||
horsepaste
Horsepaste is a word-guessing game. Generated boards are shareable and sync. The board can be viewed either as a clue giver or a word guesser.
A hosted version of the app is available at www.horsepaste.com.
Building
The app requires a Go toolchain, node.js and parcel to build. Once you have those setup, build the application Go binary with:
go install github.com/jbowens/horsepaste/cmd/horsepaste
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 horsepaste:latest
The following command will launch the docker image:
docker run --name horsepaste_server --rm -p 9091:9091 -d horsepaste
The following command will kill the docker instance:
docker stop horsepaste_server
