{"id":22793088,"url":"https://github.com/kripod/deckster","last_synced_at":"2025-03-30T17:18:31.527Z","repository":{"id":81143699,"uuid":"45729668","full_name":"kripod/deckster","owner":"kripod","description":"An open-source JavaScript library for creating card games.","archived":false,"fork":false,"pushed_at":"2015-12-12T18:10:19.000Z","size":170,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-05T19:09:38.417Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kripod.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-07T09:06:37.000Z","updated_at":"2024-05-26T15:36:47.000Z","dependencies_parsed_at":"2023-05-13T08:15:49.684Z","dependency_job_id":null,"html_url":"https://github.com/kripod/deckster","commit_stats":null,"previous_names":["decksterjs/deckster"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Fdeckster","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Fdeckster/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Fdeckster/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kripod%2Fdeckster/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kripod","download_url":"https://codeload.github.com/kripod/deckster/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246351016,"owners_count":20763232,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-12T03:17:59.809Z","updated_at":"2025-03-30T17:18:31.503Z","avatar_url":"https://github.com/kripod.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deckster\n\n[![Version (npm)](https://img.shields.io/npm/v/deckster.svg)](https://npmjs.com/package/deckster)\n[![Documentation Status](https://doc.esdoc.org/github.com/DecksterJS/deckster/badge.svg)](https://doc.esdoc.org/github.com/DecksterJS/deckster)\n[![Coverage Status](https://img.shields.io/coveralls/DecksterJS/deckster/master.svg)](https://coveralls.io/github/DecksterJS/deckster)\n[![Build Status](https://img.shields.io/travis/DecksterJS/deckster/master.svg)](https://travis-ci.org/DecksterJS/deckster)\n[![Dependency Status](https://img.shields.io/versioneye/d/user/projects/563dcd194d415e001e0001bd.svg)](https://versioneye.com/user/projects/563dcd194d415e001e0001bd)\n\nAn open-source JavaScript library for creating card games.\n\nThe project is written in ECMAScript 6 and uses [ESDoc][] for documentation.\n\n[ESDoc]: https://esdoc.org\n\n## Getting started\n\n``` js\nimport Deckster from 'deckster';\nimport Standard52CardDeck from 'deckster-deck-standard-52card';\n\n// Initialize the array of players who can participate in a game's rounds\nlet players = [\n  new Deckster.Player(0),\n  new Deckster.Player(1),\n  new Deckster.Player(2),\n  new Deckster.Player(3)\n];\n\n// Initialize new instance of a standard playing card deck\nlet deck = new Standard52CardDeck();\n\n// Creates a new game instance which has a set of cards available to play with\nlet game = new Deckster.Game(deck);\n\n// Initiates a new round of the game, in which the deck gets shuffled, and \n// cards can be dealt from it\nlet round = game.createRound(players);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkripod%2Fdeckster","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkripod%2Fdeckster","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkripod%2Fdeckster/lists"}