tunk

The card game Tunk written in AngularJS

Module License: BSD

Added by: Sam Deering

GitHub

Repository

jordangarcia/tunk

Stats

Stars: 2

Watchers: 2

Forks: 1

Module Description

tunk

TUNK!

Build and watch for development

npm run build-dev

Start development server

npm start
// or 
npm run start-dev

** Entities **

User {
    id:
    name:
    chips:
    stats: {
        stake: {}
        tournament: {}
    }
    // additional metadata
}

Room {
    id:
    clients: []
    game: Game
    status: (started|running|completed)
    type: (stake|tournament)
    stake: // minimum payout for stake games
    winAmount: // for tournament
}

Game {
    deck: Deck
    discardPile: DiscardPile
    players: PlayerList
    log: Gamelog
    turn: {}
}

/**
 * Player in a Game
 */
Player {
    client: Client
    hand: []
    playedSets: []
    score: 0 // for tournament player
    isFrozen: (bool)
}

Module stats last updated: 2015-06-07 05:59:29

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!