{"id":26792448,"url":"https://github.com/reednaa/agreentable","last_synced_at":"2025-03-29T15:36:49.153Z","repository":{"id":48966907,"uuid":"466412811","full_name":"reednaa/aGreenTable","owner":"reednaa","description":"A table top with playing cards. Happens to also be green.","archived":false,"fork":false,"pushed_at":"2023-10-07T01:52:27.000Z","size":329,"stargazers_count":1,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-10-19T23:49:29.723Z","etag":null,"topics":["card","card-game","cards","playing-card-game","playing-card-games","playing-cards","playingcards","tabletop"],"latest_commit_sha":null,"homepage":"https://green.vav.me","language":"Svelte","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/reednaa.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}},"created_at":"2022-03-05T09:51:57.000Z","updated_at":"2023-10-20T01:44:28.054Z","dependencies_parsed_at":"2022-09-17T08:33:27.953Z","dependency_job_id":"e35a170e-879a-43c5-b35e-9a93c81ec7e2","html_url":"https://github.com/reednaa/aGreenTable","commit_stats":null,"previous_names":["reednaa/agreentable"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reednaa%2FaGreenTable","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reednaa%2FaGreenTable/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reednaa%2FaGreenTable/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reednaa%2FaGreenTable/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reednaa","download_url":"https://codeload.github.com/reednaa/aGreenTable/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246207490,"owners_count":20740723,"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":["card","card-game","cards","playing-card-game","playing-card-games","playing-cards","playingcards","tabletop"],"created_at":"2025-03-29T15:36:48.598Z","updated_at":"2025-03-29T15:36:49.148Z","avatar_url":"https://github.com/reednaa.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [A Green Table | Play cards on a green table](https://green.vav.me)\n\nTable top with a card deck implemented in Svelte + Sveltekit using tailwindcss. Connectivity is implemented with websockets.\n\n## How to use\n\n- Lift cards by clicking on the edge. This allows you to move it. On movement, the position is updated for other plays. Clicking places the card down.\n\n- Group cards by moving them on top of each other. \n\n- Remove the first card by clicking on the middle.\n\n- Create a card stack by click on the lock of a card face. Adding cards (by moving them onto it) will place it directly on top.\n\n## Game Rules\n\nGame rules can be implemented in the `utils/rules.ts`. The functions are called before actions are taken. If a rule returns `true` action will be taken.\n\n## Svelte Adapter\n\nThe static adapter is used. This allows easy deployment to any service deploying static sites.\n\nThe deployment [green.vav.me](https://green.vav.me) is currently hosted by [Cloudflare Pages](https://pages.cloudflare.com)\n\n# Developing\n\nThis repository uses [pnpm](https://pnpm.io). In general, `pnpm` can be replaced by `npm`, however `npm` cannot read `pnpm` lock files. This is somewhat of an issue because we depend on `@sveltejs/kit = next` and `@sveltejs/adapter-static = next` which sometimes introduces breaking changes.\n\n## Dev server\n\n```bash\npnpm dev\n```\n\n## Building\n\nTo create a production version of your app:\n\n```bash\npnpm build\n```\n\nThe production build can be previewed by `pnpm run preview`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freednaa%2Fagreentable","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freednaa%2Fagreentable","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freednaa%2Fagreentable/lists"}