katana --disable-fee --allowed-origins="*"
sozo build && sozo migrate
# Get world address
sozo inspect
# Run torii
torii --world WORLD_ADDRESS --allowed-origins "*"
npm run dev
In depths of Dread, the objective is to scape the maze by clearing a different set of floors.
Every floor is filled with traps and coins, that can be collected to increase the run score.
You will get a hint of the path to follow in the beginning of every floor to know where to go.
If a trap is encountered on the way, the progress is reset.
Subscribe to all entity updates
subscription {
entityUpdated {
id
keys
models {
__typename
... on depths_of_dread_PlayerData {
username
}
... on depths_of_dread_PlayerState {
game_id
position {
x
y
}
}
... on depths_of_dread_GameData {
player
}
}
}
}
Query PlayerData
query {
depthsOfDreadPlayerDataModels {
edges {
node {
username
}
}
}
}
Query PlayerState
query {
depthsOfDreadPlayerStateModels {
edges {
node {
player
game_id
current_floor
coins
position {
x
y
}
}
}
}
}
Query GameData
query {
overdrivePlayerAccountModels {
edges {
node {
game_id
player
floor_reached
total_score
start_time
end_time
}
}
}
}