Quest 3: Capstone: Build a Game with the Immutable zkEVM Part II

STARTS (GMT +08:00)
ENDS (GMT +08:00)

Learning Outcomes

By the end of this quest, you will be able to:

  1. Use the p5.js library to create creative visuals and interactive experiences
  2. Connect your deployed smart contract to your front end
  3. Test a game on a local server

Quest Details


In the previous quest, we coded up our smart contract to allow the minting of one NFT for our StackUp Invaders game. In this quest, we will continue with the capstone project and will focus on the gaming mechanics and the conditions through which the NFT will be minted and evolved.

Creating a game from scratch can take quite a bit of time, and this quest has been designed to make the game creation process as seamless as possible. As such, you will not need to worry about the designing and creation of game assets. Instead, you will be focused on the code required to make the game work. In particular, you will be introduced to the p5.js library and HTML5 Canvas which we will be using to create our game. Participating in this quest also assumes that you have successfully completed the previous two quests. You would thus have the following:

  1. Immutable Passport with at least 1 test tokens (from the first and second quests)
  2. Immutable Developer Hub account (from the first quest)
  3. Development Environment has Git and NodeJS version 20.9 (from the second quest)
  4. Deployed smart contract (from the second quest)

For technical help on the StackUp platform and quest-related questions, join our Discord, head to the #immutable-helpdesk channel and look for this quest’s post.

Let’s Begin! 🎮


This quest has 2 deliverables.

  1. Screenshot 1
  2. Screenshot 2

This quest is part of a campaign so do check out other quests!

Help Center Need help?

Find articles to support you through your journey or chat with our support team.

Help Center