{"id":16190067,"url":"https://github.com/brson/contract-game","last_synced_at":"2025-06-14T20:07:07.482Z","repository":{"id":66303218,"uuid":"324442207","full_name":"brson/contract-game","owner":"brson","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-10T03:56:06.000Z","size":1221,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-24T11:17:38.652Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/brson.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":"2020-12-25T22:24:22.000Z","updated_at":"2022-10-31T21:05:21.000Z","dependencies_parsed_at":"2023-02-20T21:00:55.776Z","dependency_job_id":null,"html_url":"https://github.com/brson/contract-game","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fcontract-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fcontract-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fcontract-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brson%2Fcontract-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brson","download_url":"https://codeload.github.com/brson/contract-game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231501580,"owners_count":18386285,"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":"2024-10-10T07:38:28.583Z","updated_at":"2024-12-27T14:54:34.379Z","avatar_url":"https://github.com/brson.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Captain's Ascent\n\nA game of smart contract programming.\n\nLearn to program blockchain smart contracts\non the [Substrate (Polkadot) blockchain][sbc],\nin [the Rust programming language][rst].\n\n[sbc]: https://substrate.dev\n[rst]: https://www.rust-lang.org\n\n\n## What is it?\n\nIn The Captain's Ascent,\nyou navigate to the top of The Tower of Fate,\nwhere on each floor you must program\nThe Captain to solve a new puzzle.\n\nAlong the way,\nyou will learn how to write smart contracts\nfor Substrate,\nin Rust.\n\nEach puzzle presents a programming challenge\nthat can only be solved by writing increasingly\nsophisticated [Smart Contracts].\n\nBy reaching the top of the tower,\nyou will become a seasoned smart contract author,\nand the Champion of the Tower of Fate.\n\nAscend the tower far enough and gain access\nto _the arena_,\nwhere you can pit your captain against\nother players' in a programming tournament.\n\nAlong the way you will discover functional and cosmetic\nupgrades to customize your captain,\nand earn rewards based on your performance.\nThese upgrades and rewards are represented on-chain\nas [tokens] and [NFTs],\nwith all the capabilities that entails,\nincluding trading.\n\n[tokens]: todo\n[NFTs]: todo\n\nEach player's captain becomes customized over the course of the game,\nand is also a tradable NFT.\n\nIt's a super-blockchainy game\nin which you learn to be a super-blockchainy programmer.\n\n\n## Technical summary\n\nThe game is implemented as a smart contract,\ncalled \"the game driver\",\nthat runs on the [canvas] substrate network.\n\n[canvas]: https://github.com/paritytech/canvas-node\n\nTODO\n\n\n## Roadmap\n\n- Proof of concept\n  - basic game contract\n  - level 1 \u0026 2 tutorial challenges\n    - simple compile and deploy tutorials\n  - simple web ui\n    - tower interface with levels\n    - level instructions, and level execution and judging\n    - captain moving between levels\n  - deployed to canvas mainnet\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrson%2Fcontract-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrson%2Fcontract-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrson%2Fcontract-game/lists"}