返回
项目实战

Creating a Virtual Pet Game on Vara

In this section, we will explore the basic principles and functionalities of the Tamagotchi virtual pet game. You will learn how to create your own Tamagotchi application through programming interfaces and data structures, and understand its basic functions and uses.

语言rust
难度简单
总时长5小时

目标学习者

这门课是给谁上的

  • Developers interested in blockchain and smart contracts.
  • Developers interested in Rust programming.
  • Developers interested in Vara.

要求

  • Basic understanding of Vara, Gear protocol, and Rust.

你会学到什么

  • The complete process of developing a virtual pet game based on the Gear protocol.
Rust
Vara

课程安排

  • Unit 1 - Course Introduction

    In this chapter, we will learn about NFTs.


  • Unit 2 - Importing Modules

    In this chapter, we will learn how to import tool modules.


  • Unit 3 - Define Virtual Pet Struct

    In this chapter, we will learn how to define the struct for a virtual pet.


  • Unit 4 - Implement Core Features of the Virtual Pet

    In this chapter, we will learn how to implement the core features of the virtual pet.


  • Unit 5 - Calculate and Manage Virtual Pet Status

    In this chapter, we will learn how to calculate and view the status of a virtual pet.


  • Unit 6 - Initialization and State Management of Virtual Pet Smart Contract

    In this chapter, we will learn about contract initialization and state querying.


  • Unit 7 - Interaction

    In this chapter, we will learn how to interact with the virtual pet program.

practice

Creating a Virtual Pet Game on Vara

20 小节
移动端和桌面端均可访问