Skip to content

Commit

Permalink
flippy(flop): flippyflop
Browse files Browse the repository at this point in the history
  • Loading branch information
Larkooo committed Aug 6, 2024
1 parent 5887882 commit 2823708
Show file tree
Hide file tree
Showing 26 changed files with 285 additions and 4,589 deletions.
6 changes: 3 additions & 3 deletions Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ version = 1

[[package]]
name = "dojo"
version = "0.7.3"
source = "git+https://github.com/dojoengine/dojo?tag=v1.0.0-alpha.4#d08c46191fc1b4c4f90816cef4787cb8db02988f"
version = "1.0.0-alpha.4"
source = "git+https://github.com/dojoengine/dojo#1c0e8cc17e0c6e3fd4cc0d3e0826f19cff674740"
dependencies = [
"dojo_plugin",
]
Expand All @@ -15,7 +15,7 @@ version = "0.7.3"
source = "git+https://github.com/dojoengine/dojo?rev=71b1f1a4#71b1f1a467534cbeeb901356f41e612ed4187bd1"

[[package]]
name = "dojo_starter"
name = "flippyflop"
version = "0.1.0"
dependencies = [
"dojo",
Expand Down
14 changes: 7 additions & 7 deletions Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
cairo-version = "=2.7.0-rc.3"
name = "dojo_starter"
cairo-version = "=2.7.0"
name = "flippyflop"
version = "0.1.0"

[cairo]
Expand All @@ -12,7 +12,7 @@ spawn = "./scripts/spawn.sh"
move = "./scripts/move.sh"

[dependencies]
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.0.0-alpha.4" }
dojo = { git = "https://github.com/dojoengine/dojo" }

[[target.dojo]]

Expand All @@ -24,18 +24,18 @@ rpc_url = "http://localhost:5050/"
# Default account for katana with seed = 0
account_address = "0xb3ff441a68610b30fd5e2abbf3a1548eb6ba6f3559f2862bf2dc757e5828ca"
private_key = "0x2bbf4f9fd0bbb2e60b0316c1fe0b76cf7a4d0198bd493ced9b8df2a3a24d68a"
# world_address = "0x3fc79ccfd72c1450d2ccb73c5c521a7ec68b6c6af0caf96a0f1c39ce58876c8" # Uncomment and update this line with your world address.
world_address = "0x79b4d9a854592a979c7fb5a8ebecffead539ee893278757c72bdf57c72faf5d" # Uncomment and update this line with your world address.

[tool.dojo.world]
name = "Dojo starter"
name = "Flippy Flop"
description = "The official Dojo Starter guide, the quickest and most streamlined way to get your Dojo Autonomous World up and running. This guide will assist you with the initial setup, from cloning the repository to deploying your world."
cover_uri = "file://assets/cover.png"
icon_uri = "file://assets/icon.png"
website = "https://github.com/dojoengine/dojo-starter"
seed = "dojo_starter"
seed = "flippyflop"

[tool.dojo.world.namespace]
default = "dojo_starter"
default = "flippyflop"

[tool.dojo.world.socials]
x = "https://x.com/ohayo_dojo"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,54 +129,32 @@
{
"type": "impl",
"name": "ActionsImpl",
"interface_name": "dojo_starter::systems::actions::IActions"
},
{
"type": "enum",
"name": "dojo_starter::models::Direction",
"variants": [
{
"name": "None",
"type": "()"
},
{
"name": "Left",
"type": "()"
},
{
"name": "Right",
"type": "()"
},
{
"name": "Up",
"type": "()"
},
{
"name": "Down",
"type": "()"
}
]
"interface_name": "flippyflop::systems::actions::IActions"
},
{
"type": "interface",
"name": "dojo_starter::systems::actions::IActions",
"name": "flippyflop::systems::actions::IActions",
"items": [
{
"type": "function",
"name": "spawn",
"inputs": [],
"name": "flip",
"inputs": [
{
"name": "x",
"type": "core::integer::u32"
},
{
"name": "y",
"type": "core::integer::u32"
}
],
"outputs": [],
"state_mutability": "external"
},
{
"type": "function",
"name": "move",
"inputs": [
{
"name": "direction",
"type": "dojo_starter::models::Direction"
}
],
"name": "flop",
"inputs": [],
"outputs": [],
"state_mutability": "external"
}
Expand All @@ -185,11 +163,11 @@
{
"type": "impl",
"name": "IDojoInitImpl",
"interface_name": "dojo_starter::systems::actions::actions::IDojoInit"
"interface_name": "flippyflop::systems::actions::actions::IDojoInit"
},
{
"type": "interface",
"name": "dojo_starter::systems::actions::actions::IDojoInit",
"name": "flippyflop::systems::actions::actions::IDojoInit",
"items": [
{
"type": "function",
Expand Down Expand Up @@ -249,7 +227,7 @@
},
{
"type": "event",
"name": "dojo_starter::systems::actions::actions::Event",
"name": "flippyflop::systems::actions::actions::Event",
"kind": "enum",
"variants": [
{
Expand Down
Loading

0 comments on commit 2823708

Please sign in to comment.