codekaya / Dojo_Arena-Paris_Hacker_House

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Development

Install the latest Dojo toolchain from here installation guide

# Start Katana
katana --seed 0

# Build the game
sozo build

# Migrate the world, this will declare/deploy contracts to katana,
# update the world address in Scarb.toml
sozo migrate

# Create a game, account credentials are stored in Scarb.toml
sozo execute Create

# Open up another terminal and cd into player_two
sozo execute Join --calldata 0

# View the schema of a component
sozo component schema Game

# View the value of a component
# Depending on how you structure your storage keys the last input
# specifies the key parts
sozo component entity Game 0

# Figure out how to punch, kick, and use special attack to deal a killing blow your opponent!

About

License:MIT License


Languages

Language:JavaScript 67.0%Language:CSS 28.2%Language:Cairo 4.5%Language:HTML 0.2%