CIG2 docs

CIG2 (Cards In Go, take 2) is a Go framework for real-time multiplayer card games. A game writes its rules; CIG2 handles turns, hidden information, networking, persistence and testing.

Games

Rules and guides for the games built on CIG2:

  • Crazy Eights: Shed your hand by matching rank or suit; eights are wild. (play)
  • Cribbage: Two-player classic: deal, discard to the crib, peg, and race to 121. (play)
  • Klondike: Solitaire: build the four foundations from Ace to King. (play)
  • Snap: Spot the match: flip cards, and shout Snap when the top two share exactly one feature. (play)
  • Sticker Card: Two-player draft-and-battle card game where you build the cards you fight with. (play)
  • Supply: A deck-building duel: attack, build barriers and grow your deck to take your opponent from 30 health to 0. (play)

Framework

Building a game on CIG2? Start with the overview, then getting started. The cheatsheet and patterns are for quick lookups.