https://github.com/brson/contract-game
https://github.com/brson/contract-game
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/brson/contract-game
- Owner: brson
- Created: 2020-12-25T22:24:22.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-10T03:56:06.000Z (over 5 years ago)
- Last Synced: 2024-12-24T11:17:38.652Z (over 1 year ago)
- Language: Rust
- Size: 1.16 MB
- Stars: 8
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The Captain's Ascent
A game of smart contract programming.
Learn to program blockchain smart contracts
on the [Substrate (Polkadot) blockchain][sbc],
in [the Rust programming language][rst].
[sbc]: https://substrate.dev
[rst]: https://www.rust-lang.org
## What is it?
In The Captain's Ascent,
you navigate to the top of The Tower of Fate,
where on each floor you must program
The Captain to solve a new puzzle.
Along the way,
you will learn how to write smart contracts
for Substrate,
in Rust.
Each puzzle presents a programming challenge
that can only be solved by writing increasingly
sophisticated [Smart Contracts].
By reaching the top of the tower,
you will become a seasoned smart contract author,
and the Champion of the Tower of Fate.
Ascend the tower far enough and gain access
to _the arena_,
where you can pit your captain against
other players' in a programming tournament.
Along the way you will discover functional and cosmetic
upgrades to customize your captain,
and earn rewards based on your performance.
These upgrades and rewards are represented on-chain
as [tokens] and [NFTs],
with all the capabilities that entails,
including trading.
[tokens]: todo
[NFTs]: todo
Each player's captain becomes customized over the course of the game,
and is also a tradable NFT.
It's a super-blockchainy game
in which you learn to be a super-blockchainy programmer.
## Technical summary
The game is implemented as a smart contract,
called "the game driver",
that runs on the [canvas] substrate network.
[canvas]: https://github.com/paritytech/canvas-node
TODO
## Roadmap
- Proof of concept
- basic game contract
- level 1 & 2 tutorial challenges
- simple compile and deploy tutorials
- simple web ui
- tower interface with levels
- level instructions, and level execution and judging
- captain moving between levels
- deployed to canvas mainnet