Skip to content

jordangarcia/tunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

The card game Tunk written in AngularJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published