Inspiration
I like Tower Defense.
What it does
- The Backend computed decentralised.
- The Backend renders tower.glb via golem network
- The app allows you to declare ownership over tower.
- The app allows you to level up all tower
- The app allows you to upgrade all towers
- The app allows you to increase Map.
- The ink! Smart Contract allows you to mint, approve, transfer, ... NFT Token
How we built it
Incrementally.
- Setup repo.
- Create a tower.
- Solve bugs.
- Simplify.
- Make a button work.
- Add react three fiber.
- Add a plane
- Import Tower
- Use golem to export default cube
- Enhance golem compution with tower_exporter.py
- fix bugs
- make button really work
- add more buttons.
- add more models, buttons, ...
- call it a day, shoot a video.
- add timestamps.
Challenges we ran into
Challange of:
- How the do i use golem. (mentors were amazing)
- How to use cardinal repo
- How to combine react-three-fiber with ink
Accomplishments that we're proud of
It works. Buttons do clicky. People have fun to play with Tower.
What we learned
- How to use the cardinal psp34 instead of openbrush
- Improve ink! skills
- Combine 3D in the Browser with ink! Contract
- How decentralized computation works
What's next for Tower
- Make it nicey.
- Improve the contract, modularize it
- Add Health, Attack and other stats.
- Basically first, make nice NFT
- Then, make the Game
- Then add DAO Competion and other web3'ified game mechanics.
Built With
- alephzero
- golem
- ink!
- three.js
Log in or sign up for Devpost to join the conversation.