Tsubasa onchain game running on Starknet Appchain.
Tsubasa is a football game based on the popular manga series of the same name. It's a simulation based on the rules of the game, but with a twist: the players are able to use superhuman techniques, such as the Tiger Shot, to make the game more exciting.
The game leverages the Dojo Engine, a provable game engine and toolchain for building onchain games and autonomous worlds with Cairo.
It can run on the public Starknet, or on a Starknet Appchain using Madara.
Onchain part of the game is located in onchain
directory.
It's a set of Starknet smart contracts written in Cairo.
The project is using dojo. If you are not familiar with it, please read the Dojo book.
You absolutely need to install the dojo toolchain if you want to do anything related to smart contracts.
curl -L https://install.dojoengine.org | bash
dojoup
For a more detailed onboarding please read the installation guide
Within contracts
directory run:
sozo test
You should see something like this:
Updating git repository https://github.com/dojoengine/dojo
running 2 tests
test tsubasa::card::tests::test_move ... ok
test tsubasa::game::tests::test_move ... ok
test result: ok. 2 passed; 0 failed; 0 ignored; 0 filtered out;
Within game-app
directory run:
npm i
npm run dev
You should see something like this:
> game-app@0.1.0 dev
> next dev
- ready started server on 0.0.0.0:3000, url: http://localhost:3000
- event compiled client and server successfully in 79 ms (20 modules)
- wait compiling...
- event compiled client and server successfully in 87 ms (20 modules)
We're always looking for passionate developers to join our community and contribute to Tsubasa. Check out our contributing guide for more information on how to get started.
This project is licensed under the MIT license.
See LICENSE for more information.
Happy coding! 🎉
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!