go-against-humanity

command module
v0.0.0-...-d96fec9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2023 License: MIT Imports: 11 Imported by: 0

README

Go Against Humanity

A Cards Against Humanity web game written in Go. 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. Meant to be played for a good laugh together.

Cards Against Humanity

Usage

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:

[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)

Running

go run server.go # Start the web server

Tell the players / jurors to go to http://:1323/ and enjoy the game!

Based on Echo

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL