{"id":51344688,"url":"https://github.com/remarkablegames/spin-to-win","last_synced_at":"2026-07-02T10:33:42.826Z","repository":{"id":366000696,"uuid":"1274678012","full_name":"remarkablegames/spin-to-win","owner":"remarkablegames","description":"🎡 Spin. Score. Repeat.","archived":false,"fork":false,"pushed_at":"2026-06-27T02:12:02.000Z","size":5916,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-27T02:17:27.858Z","etag":null,"topics":["game","javascript","kaplay","kaplayjs","roguelike","spin","spin-to-win","spin-to-win-game","typescript","web","wheel"],"latest_commit_sha":null,"homepage":"http://remarkablegames.org/spin-to-win/","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/remarkablegames.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":".github/CODEOWNERS","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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-06-19T19:15:38.000Z","updated_at":"2026-06-27T02:11:12.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/remarkablegames/spin-to-win","commit_stats":null,"previous_names":["remarkablegames/spin-to-win"],"tags_count":0,"template":false,"template_full_name":"remarkablegames/kaplay-template","purl":"pkg:github/remarkablegames/spin-to-win","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablegames%2Fspin-to-win","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablegames%2Fspin-to-win/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablegames%2Fspin-to-win/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablegames%2Fspin-to-win/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remarkablegames","download_url":"https://codeload.github.com/remarkablegames/spin-to-win/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remarkablegames%2Fspin-to-win/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35043933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-02T02:00:06.368Z","response_time":173,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["game","javascript","kaplay","kaplayjs","roguelike","spin","spin-to-win","spin-to-win-game","typescript","web","wheel"],"created_at":"2026-07-02T10:33:41.892Z","updated_at":"2026-07-02T10:33:42.821Z","avatar_url":"https://github.com/remarkablegames.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"public/favicon.png\" width=\"300\" alt=\"Spin to Win\"\u003e\n\u003c/p\u003e\n\n# Spin to Win\n\n[![release](https://img.shields.io/github/v/release/remarkablegames/spin-to-win)](https://github.com/remarkablegames/spin-to-win/releases)\n[![build](https://github.com/remarkablegames/spin-to-win/actions/workflows/build.yml/badge.svg)](https://github.com/remarkablegames/spin-to-win/actions/workflows/build.yml)\n\n🎡 **Spin to Win** is a luck-based strategy game where every spin counts. Earn points, unlock upgrades, add segments, and remove penalties as you build your ultimate wheel. Can you reach the target score before luck runs out?\n\nPlay the game on:\n\n- [itch.io](https://remarkablegames.itch.io/spin-to-win)\n- [remarkablegames](https://remarkablegames.org/spin-to-win/)\n\nRead the [blog post](https://remarkablegames.org/posts/spin-to-win/).\n\n## Credits\n\n### Art\n\n- [Kaplay Crew](https://kaplayjs.com/crew/)\n\n### Fonts\n\n- [Roboto Mono](https://fonts.google.com/specimen/Roboto+Mono)\n\n### Music\n\n- [Free Music Second Dealing by みんなの創作支援サイトＴスタ/T-STUDIO](https://t-studio-tst.itch.io/free-music-second-dealing)\n\n### Sounds\n\n- [Cash Register (Kaching) - Sound Effect](https://pixabay.com/sound-effects/film-special-effects-cash-register-kaching-sound-effect-125042/)\n- [Kenney Interface Sounds](https://kenney.nl/assets/interface-sounds)\n\n## Prerequisites\n\n[nvm](https://github.com/nvm-sh/nvm#installing-and-updating):\n\n```sh\nbrew install nvm\n```\n\n## Install\n\nClone the repository:\n\n```sh\ngit clone https://github.com/remarkablegames/spin-to-win.git\ncd spin-to-win\n```\n\nInstall the dependencies:\n\n```sh\nnpm install\n```\n\n## Environment Variables\n\nUpdate the environment variables:\n\n```sh\ncp .env .env.local\n```\n\nUpdate the **Secrets** in the repository **Settings**.\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the game in the development mode.\n\nOpen [http://localhost:5173](http://localhost:5173) to view it in the browser.\n\nThe page will reload if you make edits.\n\nYou will also see any errors in the console.\n\n### `npm run build`\n\nBuilds the game for production to the `dist` folder.\n\nIt correctly bundles in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\n\nYour game is ready to be deployed!\n\n### `npm run bundle`\n\nBuilds the game and compresses the contents into a ZIP archive in the `dist` folder.\n\nYour game can be uploaded to your server, [itch.io](https://itch.io/), [newgrounds](https://www.newgrounds.com/), etc.\n\n## Testing\n\n### Scene\n\nYou can jump to a scene by adding `?scene=\u003cname\u003e` to the URL.\n\n| Scene   | URL params (all optional)                                                      |\n| ------- | ------------------------------------------------------------------------------ |\n| `title` | _(none)_                                                                       |\n| `cover` | _(none)_                                                                       |\n| `game`  | `level`, `round`, `score`, `money`, `baseSpins`, `extraSpins`, `passiveIncome` |\n| `shop`  | `level`, `round`, `score`, `money`, `passiveIncome`, `baseSpins`               |\n| `end`   | `level`, `score`, `money`, `baseSpins`, `extraSpins`, `passiveIncome`          |\n\nExamples:\n\n```\nhttp://localhost:5173/?scene=end\u0026score=100\n```\n\n```\nhttp://localhost:5173/?scene=game\u0026level=1\u0026money=50\n```\n\n```\nhttp://localhost:5173/?scene=shop\u0026level=0\u0026round=1\u0026score=100\u0026money=50\u0026passiveIncome=5\n```\n\n### Cover\n\nThe cover scene renders the wheel on a 1024×1024 canvas for use as a logo or cover image.\n\n```\nhttp://localhost:5173/?scene=cover\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremarkablegames%2Fspin-to-win","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremarkablegames%2Fspin-to-win","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremarkablegames%2Fspin-to-win/lists"}