sabacc

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

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

Go to latest
Published: Jan 18, 2020 License: MIT Imports: 8 Imported by: 0

README

Sabacc

Build Status Go Report Card

In Disney's newly-opened Star Wars: Galaxy's Edge lands, you can buy a deck of Sabacc playing cards. Over Christmas break, Jesse Millar became obsessed with playing Sabacc with his brothers and was quite disappointed when he could no longer play the game in person at the end of the holiday. This repo represents an attempt at creating a digital version of Sabacc so that people can play with each other regardless of distance or time commitments.

There were a few goals for this project:

  • Async play to allow for a lack of time constraint (e.g. play casually throughout the day)
  • Not require money to play or maintain (use free hosting and deployment technologies)

Deploy

There are a few steps to follow if you want to deploy your own copy of Sabacc:

  1. Sign up for one or more free email API accounts from the list below and note down your API key(s)

  2. Deploy to Heroku using the button below (fill in the environment variables section on the Heroku site with the API keys you obtained above)

    Deploy

How to Play

  1. Navigate to the static UI in your browser
  2. Enter email addresses for the players you want to play with
  3. Wait for an email notification that it's your turn

Notes

General Notes
  • Everything happens via URL links that are emailed to participants. There are no accounts, databases, or "unnecessary" complexity. The game state is encoded as a URI parameter in each email that is sent which means there's nothing other than honesty stopping players from taking multiple turns, hijacking someone else's turn, or peeking at the cards in other players hands if they know how to use a browser debug console. We here at CompyCore are not concerned by this since it's quite easy to cheat in physical card games as well.
Repository Branches
master branch

The master branch contains the Golang microservice that runs on Heroku and orchestrates the game logic and the sending of notification emails.

gh-pages branch

The gh-pages branch has a simple, static-file UI hosted on GitHub Pages that allows players to take actions on their turn.

Credits

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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