Skip to content

An Dojo example of Saya settlement and Katana shard execution.

License

Notifications You must be signed in to change notification settings

cartridge-gg/shard-dungeon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dojo logo

discord Telegram Chat

Shard Dungeon

An example of a Dojo game that is a simple dungeon crawler using Saya for settlement and Katana sharding execution.

Quick start

# Build the project.
sozo build

# The world's address may change if dojo-core is modified. Please check the Scarb.toml
# and replace as necessary. If you don't know yet the world's address, comment it.
sozo migrate apply

# Register a player:
sozo execute shard_dungeon::systems::metagame::metagame register_player -c str:player1

# Run the dungeon:
sozo execute shard_dungeon::systems::hazard_hall::hazard_hall fate_strike

Architecture

The idea of the demonstration is to have a metagame on Starknet, where players can register and then start a dungeon. For now, the dungeon is single player.

The shard execution must start the dungeon run, the player has to interact with the shard to effectively finish beat the dungeon's boss.

Once the dungeon is over, Saya must have all the necessary info to update the world state on the base layer.

About

An Dojo example of Saya settlement and Katana shard execution.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages