https://github.com/endsummercamp/go-against-humanity
Card Against Humanity - Web (Go) implementation
https://github.com/endsummercamp/go-against-humanity
cards cards-against-humanity game go golang web
Last synced: about 1 year ago
JSON representation
Card Against Humanity - Web (Go) implementation
- Host: GitHub
- URL: https://github.com/endsummercamp/go-against-humanity
- Owner: endsummercamp
- License: mit
- Created: 2018-08-30T15:04:29.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-10-05T00:37:11.000Z (over 2 years ago)
- Last Synced: 2025-02-05T12:50:54.737Z (over 1 year ago)
- Topics: cards, cards-against-humanity, game, go, golang, web
- Language: Go
- Size: 5.24 MB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Go Against Humanity
A Cards Against Humanity web game written in [Go](http://www.golang.org/).
The game is intended to be played with multiple players, divided into
"players" and "jurors". The card that gets most votes wins.
Written in 3 days during the [End Summer Camp](https://www.endsummercamp.org). Meant to be played for a good laugh together.

## Usage
```bash
export GOPATH=~/gopath # If you have an existing gopath, use that instead
mkdir -p $GOPATH/src/github.com/ESCah
git clone --recursive https://github.com/ESCah/go-against-humanity
make compile # Compile the cards
npm install # Install Node.js deps
node node_modules/.bin/webpack # Compile Web resources
go get -v # Fetch deps
```
## Configure the application
Create a file `config.toml` and add the following:
```toml
[General]
Decks = ['ita-original-sfoltita', 'ita-espansione', 'ita-HACK']
```
where Decks is an array containing the decks you want to use
([here is the list](https://github.com/ESCah/json-against-humanity/tree/master/src))
## Running
```bash
go run server.go # Start the web server
```
**Tell the players / jurors to go to http://:1323/ and enjoy the game!**
## Based on [Echo](https://echo.labstack.com/)