SUIValley

SUIValley

Inspired by Stardew Valley - an on-chain farming RPG powered by SUI Blockchain - own and manage your farming resoruces and level up

60
Built at Unfold 2023
SUIValley

SUIValley

Inspired by Stardew Valley - an on-chain farming RPG powered by SUI Blockchain - own and manage your farming resoruces and level up

The problem SUIValley solves

  • Currently the gamers don’t have full control on their hard earned in-game assets
  • Limited interactions between multiple games and experiences within the same studio.
  • Few opportunities for gamers to engage with other gamers and build their own persona, as the game assets are not portable outside the game
  • Most web3 games are gated communities and owning them only offers license to the game. That is not what true asset ownership is.
  • Need to improve Web3 User Experience

OUR SOLUTION

A smooth web2-like on-chain farming RPG that let's players enjoy the tasks of owning a land, managing resources:

  • Creation of Player NFT <- Creation of Inventory <- Creation of Items in Inventory at default value of 0 when user makes a new account
  • Collect and upgrade your inventory. The Inventory is like an NFT object on SUI, which keeps track of items on-chain, and also updates the inventory as you collect more resources on-chain
  • Player levels up on XP as you create, grow, harvest and expand your inventory
  • The game runs on a simulated engine with respect to time, which make sure elements within the objects (for instance seeds, germinate into saplings and are updated on chain using Move modules)
  • The flow of the game is web2 as the transactions are signed by the HD wallet provided within the Origin Byte Unity SDK
  • The onboarding is done through email and password JWT authentication system
  • Game state synced with SUI Move Objects that acts like NFTs owning NFTs
  • Players own invnentory, inventory owns items (seeds, saplings, harvest, tools, raw materials) and you can update the objects as you play the game on chain in a hassle free (non-web3 UX manner)

(SUI Move Modules on Devnet)
Contract 1

Contract2

Challenges we ran into

  • Reading data from SUI blockchain into the Unity Client - the Origin Byte Unity SDK for SUI is not up to date
  • Learning Move programming language
  • Developing the concept of NFTs owning NFTs (Objects own Objects on chain) and updating game state on-chain with functions executing as you play and collect resources
  • Updating Player XP according to the game events and resources collected
  • Lack of resoruces related to SUI gaming with Unity.
  • We tried to related Tx, objects, params in the typescript SDK to our Unity Code and made it work

Tracks Applied (1)

SUI Network - Network Effect

OUR SOLUTION A smooth web2-like on-chain farming RPG that let's players enjoy the tasks of owning a land, managing resou...Read More

SUI Network

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion