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.

  1. Setup repo.
  2. Create a tower.
  3. Solve bugs.
  4. Simplify.
  5. Make a button work.
  6. Add react three fiber.
  7. Add a plane
  8. Import Tower
  9. Use golem to export default cube
  10. Enhance golem compution with tower_exporter.py
  11. fix bugs
  12. make button really work
  13. add more buttons.
  14. add more models, buttons, ...
  15. call it a day, shoot a video.
  16. 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

Share this project:

Updates