{"id":47876516,"url":"https://github.com/kasperstorgaard/skub","last_synced_at":"2026-04-04T01:17:32.573Z","repository":{"id":259125842,"uuid":"820439408","full_name":"kasperstorgaard/skub","owner":"kasperstorgaard","description":" A tiny puzzle game where you push pieces against walls and each other to reach the target","archived":false,"fork":false,"pushed_at":"2026-03-28T12:27:53.000Z","size":1341,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-28T15:54:15.821Z","etag":null,"topics":["deno","fresh","game-development","open-props","puzzle","puzzle-game","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"https://skub.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kasperstorgaard.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-26T13:20:53.000Z","updated_at":"2026-03-28T12:27:56.000Z","dependencies_parsed_at":"2024-10-22T19:59:47.321Z","dependency_job_id":null,"html_url":"https://github.com/kasperstorgaard/skub","commit_stats":null,"previous_names":["kasperstorgaard/ricochet","kasperstorgaard/skub"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kasperstorgaard/skub","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasperstorgaard%2Fskub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasperstorgaard%2Fskub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasperstorgaard%2Fskub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasperstorgaard%2Fskub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kasperstorgaard","download_url":"https://codeload.github.com/kasperstorgaard/skub/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kasperstorgaard%2Fskub/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31383995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-03T23:20:52.058Z","status":"ssl_error","status_checked_at":"2026-04-03T23:20:51.675Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["deno","fresh","game-development","open-props","puzzle","puzzle-game","tailwindcss","typescript"],"created_at":"2026-04-04T01:17:32.077Z","updated_at":"2026-04-04T01:17:32.562Z","avatar_url":"https://github.com/kasperstorgaard.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Skub\n\nA sliding-piece puzzle game inspired by\n[Ricochet Robots](https://en.wikipedia.org/wiki/Ricochet_Robots).\n\nGuide the puck to its destination - but pieces continue until they hit\nsomething.\n\n**[Play it now](https://ricochet.kasperstorgaard.deno.net/)**\n\n## Demo\n\nhttps://github.com/user-attachments/assets/aeda00d9-e2a5-4814-830c-f34db20361cc\n\n## Features\n\n- **Progressive enhancement** — full server-side state management and, works\n  without JavaScript\n- **Touch \u0026 keyboard** — swipe on mobile, arrow-keys or `u`/`r`/`h` shortcuts on\n  desktop\n- **CSS-only replays** — animated solution playback, no JS animation libraries\n- **Smart solver** — BFS-based solver finds optimal solutions and powers the\n  hint system\n- **Dark/light theme** — follows system preference\n- **Puzzle editor** — create, generate, and share your own puzzles with a\n  live-solving minimum moves badge\n- **Leaderboards** — compare your solution against others\n\n## Editor\n\nhttps://github.com/user-attachments/assets/c1c1c2fd-defb-48a7-9622-1df74779787e\n\nThe built-in editor lets you create puzzles from scratch or generate random\nsolvable boards with configurable minimum moves. A debounced solver runs on every\nedit, showing the optimal solution length in real time. Use **Download** to\nexport a puzzle as a `.md` file and **Import** to load one back in.\n\n## Tech Stack\n\n| Layer     | Tech                                                                                 |\n| --------- | ------------------------------------------------------------------------------------ |\n| Runtime   | [Deno](https://deno.land)                                                            |\n| Framework | [Fresh 2](https://fresh.deno.dev)                                                    |\n| UI        | [Preact](https://preactjs.com) + [Signals](https://preactjs.com/guide/v10/signals/)  |\n| Styling   | [Tailwind CSS v4](https://tailwindcss.com) + [Open Props](https://open-props.style/) |\n| Storage   | [Deno KV](https://deno.com/kv)                                                       |\n| Touch     | [ZingTouch](https://zingchart.github.io/zingtouch/)                                  |\n| Build     | [Vite](https://vite.dev)                                                             |\n\n## Getting Started\n\nRequires [Deno](https://deno.land/manual/getting_started/installation).\n\n```bash\n# Start dev server with file watching\ndeno task dev\n\n# Build for production\ndeno task build\n\n# Preview production build\ndeno task preview\n```\n\n## Project Structure\n\n```\nroutes/          File-system routes (pages + API)\nislands/         Interactive Preact components (hydrated client-side)\ncomponents/      Static server-rendered components\ngame/            Core game logic (board, solver, parser, types, cookies)\nclient/          Browser-only code (touch, keyboard, routing)\nlib/             Portable utilities (env, analytics, replay, build tools)\ndb/              Deno KV database layer\nstatic/puzzles/  Puzzle definitions in Markdown + ASCII\n```\n\n## Puzzle Format\n\nPuzzles are Markdown files with YAML frontmatter and an ASCII board:\n\n```markdown\n---\nname: My Puzzle\nslug: my-puzzle\ncreatedAt: 2025-06-15T00:00:00.000Z\n---\n\n+ A B C D E F G H +\n1 #     #         |\n2   X             |\n3    |            |\n4                 |\n5                 |\n6         @       |\n7                 |\n8 #               |\n+-----------------+\n```\n\nSymbols: `@` = puck (player piece), `X` = destination, `#` = blocker,\n`|` = vertical wall, `_` = horizontal wall.\n\nThe easiest way to create a puzzle is via the in-app editor at `/puzzles/new`.\nDesign your board, then click **Download** to save the `.md` file. Use\n**Import** to load it back into the editor later. Place it in\n`static/puzzles/` and run `deno task update-puzzles` to register it.\n\n## Privacy\n\nThis site uses [PostHog](https://posthog.com) for product analytics.\nTracking is **opt-in** — no data is collected until you accept via the cookie banner.\nData is processed by posthog in the eu, and not shared with other third parties.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasperstorgaard%2Fskub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkasperstorgaard%2Fskub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkasperstorgaard%2Fskub/lists"}