{"id":23944905,"url":"https://github.com/cherninlab/qwik-card-engine","last_synced_at":"2026-05-08T16:38:16.257Z","repository":{"id":270628923,"uuid":"909475655","full_name":"cherninlab/qwik-card-engine","owner":"cherninlab","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-01T23:46:40.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T00:25:28.293Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cherninlab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-28T20:18:00.000Z","updated_at":"2025-01-01T23:46:43.000Z","dependencies_parsed_at":"2025-01-02T00:25:42.325Z","dependency_job_id":"a3205297-3356-47a6-94fe-b7b31f6272a7","html_url":"https://github.com/cherninlab/qwik-card-engine","commit_stats":null,"previous_names":["cherninlab/qwik-card-engine"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherninlab%2Fqwik-card-engine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherninlab%2Fqwik-card-engine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherninlab%2Fqwik-card-engine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherninlab%2Fqwik-card-engine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cherninlab","download_url":"https://codeload.github.com/cherninlab/qwik-card-engine/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240428588,"owners_count":19799693,"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":"2025-01-06T07:16:13.037Z","updated_at":"2026-05-08T16:38:16.199Z","avatar_url":"https://github.com/cherninlab.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QwikCE - Qwik Card Engine\n\nSimple card game engine built for Qwik.\n\n## Quick Start\n\n```bash\n# Or add to existing project\nnpm install @cherninlab/qwik-card-engine\n```\n\n## Basic Usage\n\n```typescript\n// 1. Define your game\nconst gameConfig = {\n  id: 'my-game',\n  name: 'My Card Game',\n  resources: {\n    coin: {\n      startAmount: 1,\n      gainPerTurn: 1\n    }\n  },\n  cardTypes: {\n    unit: {\n      type: \"unit\"\n    }\n  }\n};\n\n// 2. Add game to your app\nimport { GameProvider } from '@cherninlab/qwik-card-engine';\n\nexport default component$(() =\u003e {\n  return (\n    \u003cGameProvider config={gameConfig}\u003e\n      \u003cYourGame /\u003e\n    \u003c/GameProvider\u003e\n  );\n});\n\n// 3. Use game state and actions\nimport { useGameState, useGameAction } from '@cherninlab/qwik-card-engine';\n\nexport const YourGame = component$(() =\u003e {\n  const state = useGameState();\n  const { playCard$ } = useGameAction();\n\n  return (\n    \u003cdiv\u003e\n      {/* Your game UI */}\n    \u003c/div\u003e\n  );\n});\n```\n\n## Examples\n\n- [Number Battle](https://github.com/cherninlab/number-battle) - Simple number-based card game\n\n## Documentation\n\n- [API Documentation](./docs/api.md) - Server implementation guide\n\n## Development\n\n```bash\npnpm install\npnpm dev\npnpm build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcherninlab%2Fqwik-card-engine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcherninlab%2Fqwik-card-engine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcherninlab%2Fqwik-card-engine/lists"}