{"id":26633769,"url":"https://github.com/bal7hazar/slayer","last_synced_at":"2025-03-24T15:27:14.873Z","repository":{"id":212960183,"uuid":"732606294","full_name":"Bal7hazar/slayer","owner":"Bal7hazar","description":"Starknet on-chain game using the dojo framework","archived":false,"fork":false,"pushed_at":"2024-01-01T09:56:51.000Z","size":19280,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-05-18T03:48:45.259Z","etag":null,"topics":["cairo","cairo-lang","dojo","game"],"latest_commit_sha":null,"homepage":"https://slayer-client.vercel.app/","language":"TypeScript","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/Bal7hazar.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}},"created_at":"2023-12-17T08:41:50.000Z","updated_at":"2023-12-31T12:22:29.000Z","dependencies_parsed_at":"2023-12-25T20:07:26.180Z","dependency_job_id":null,"html_url":"https://github.com/Bal7hazar/slayer","commit_stats":null,"previous_names":["bal7hazar/goblin-slayer-contracts","bal7hazar/slayer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bal7hazar%2Fslayer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bal7hazar%2Fslayer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bal7hazar%2Fslayer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bal7hazar%2Fslayer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bal7hazar","download_url":"https://codeload.github.com/Bal7hazar/slayer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245296807,"owners_count":20592282,"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":["cairo","cairo-lang","dojo","game"],"created_at":"2025-03-24T15:27:14.263Z","updated_at":"2025-03-24T15:27:14.863Z","avatar_url":"https://github.com/Bal7hazar.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Slayer\n\n## About the Game\n\nSlayer is a groundbreaking gaming experience inspired by the universe of the popular manga, Goblin Slayer.\n\nThis game is deployed on Starknet, to offer a novel and immersive gameplay experience. Developed using the innovative Dojo framework, it combines elements of strategy, role-playing, and real-time action, ensuring a thrilling adventure for all players.\n\nYou can learn more about the game watching the [video trailer](https://www.youtube.com/watch?v=42Oa_rTH3m0)\n\n## How to play?\n\nThis rulebook serves as a comprehensive guide to the exciting and challenging world of Slayer game.\n\nEmbark on your adventure, outwit the goblins, and rise to the top of the leaderboard!\n\n### Starting Up\n\nOpen the client: https://slayer-client.vercel.app/\n\n#### Account Setup\n\nUpon launching the game, a burner account is automatically deployed and stored in cache. Players have the option to personalize their gaming experience by renaming the default account name and deploying a new burner account.\n\n### Movement and Interaction\n\n#### Navigation\n\nPlayers can move freely across the game map using the WASD keys.\n\n#### Interacting with the Environment\n\nPress the 'E' key to interact with specific locations on the map. These locations are hidden and must be discovered by the player.\n\n#### Initiating Duels\n\nThe 'Q' key triggers a duel with a goblin hiding in the tall grass.\n\n### Combat and Duels\n\n#### Duel Mechanics\n\nDuels are turn-based dice games spread over three rounds.\n\nPlayers face goblins of varying difficulty levels, each with a dice score determined by a unique seed.\n\nTo win, players must outscore the goblin in dice rolls over the three rounds.\n\nEach round offers the option to re-roll some or all dice to improve the score.\n\n### Progress and Rewards\n\n#### Earning Gold and Experience\n\nVictories in duels reward players with gold and experience points.\n\n#### Character Enhancement and Leaderboard\n\nExperience points enhance the visual appearance of the player's character and help climb the ranks in the game's leaderboard.\n\n#### Purchasing Bonuses\n\nGold can be used to buy in-game bonuses, like extra rounds in duels. Note that the in-game shop is inaccessible during duels.\n\n#### Titles and Recognition\n\nAccumulated experience and gold grant players titles that are visible to others in the leaderboard.\n\n### Risks and Penalties\n\n#### Consequences of Defeat\n\nFailing in a duel results in the loss of all accumulated experience.\n\nPlayers are reset to the base gold level and lose any acquired bonuses.\n\n## VRF Version\n\nA version using the Pragma VRF feature has been implmented and deployed on testnet, however there is no front yet for this version.\n\nWorld address: 0x5a5719cdf14d12207354a1f1b3c6ce8814fcd9b328c7e3950c78b99f373a46a\n\nYou can try it directly on voyager:\n\n-   Open [Voyager](https://goerli.voyager.online/contract/0x0719fcd2cc92c0b43092f45f062f85c5f08f8dd05767e2c1de02c091ab3110ae#writeContract)\n-   Create a Slayer with the world address and your slayer name\n-   Request a seek using `request_seek` with the world address (the slayer you created is attached to your wallet)\n-   What few block and then you can play your duel using the `roll`\n-   When your duel ends you can seek again\n\nNote: `seek` function use the tx hash for the duel seed, which is less secure but quicker.\n\nHere is the request seek tx example:\n\n-   https://goerli.voyager.online/tx/0x46e994536ed59cbdf950a61368033de9578ccc2c007507bd68769b9003f844f\n\nAnd here the VRF callback tx:\n\n-   https://goerli.voyager.online/tx/0x78341e315387e9599c22bb83fbc3f008c374b22009def168fc2f7a2b20c4895\n\n# Development\n\n## Install (in root)\n\n```zsh\npnpm install\n```\n\n## Server\n\n```zsh\n# add .env then:\n\npnpm run dev:server\n```\n\n## Client\n\n```zsh\npnpm run dev\n```\n\n## Deployment\n\nClient - vercel\n\nChain - slot\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbal7hazar%2Fslayer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbal7hazar%2Fslayer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbal7hazar%2Fslayer/lists"}