Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .tool-versions

This file was deleted.

Binary file removed backend/Cover.png
Binary file not shown.
21 changes: 0 additions & 21 deletions backend/LICENSE

This file was deleted.

21 changes: 0 additions & 21 deletions backend/dojo_examples/combat_game/LICENSE

This file was deleted.

68 changes: 0 additions & 68 deletions backend/dojo_examples/combat_game/README.md

This file was deleted.

19 changes: 14 additions & 5 deletions backend/dojo_examples/combat_game/Scarb.lock
Original file line number Diff line number Diff line change
@@ -1,31 +1,40 @@
# Code generated by scarb DO NOT EDIT.
version = 1

[[package]]
name = "achievement"
version = "0.0.0"
source = "git+https://github.com/cartridge-gg/arcade?tag=v1.2.1#8b8ccea5ec85ae7f903903ced9cd16e16b8e47cb"
dependencies = [
"dojo",
]

[[package]]
name = "combat_game"
version = "1.1.0"
version = "0.1.0"
dependencies = [
"achievement",
"dojo",
"dojo_cairo_test",
]

[[package]]
name = "dojo"
version = "1.1.1"
source = "git+https://github.com/dojoengine/dojo?tag=v1.1.1#dba10f26191bce47bb442ddc626ba7c6e2d8c160"
version = "1.2.1"
source = "git+https://github.com/dojoengine/dojo?tag=v1.2.1#3d4b1a3e662f70679813f9fb65c0b5c7fa5d6f0a"
dependencies = [
"dojo_plugin",
]

[[package]]
name = "dojo_cairo_test"
version = "1.0.12"
source = "git+https://github.com/dojoengine/dojo?tag=v1.1.1#dba10f26191bce47bb442ddc626ba7c6e2d8c160"
source = "git+https://github.com/dojoengine/dojo?tag=v1.2.1#3d4b1a3e662f70679813f9fb65c0b5c7fa5d6f0a"
dependencies = [
"dojo",
]

[[package]]
name = "dojo_plugin"
version = "2.9.2"
source = "git+https://github.com/dojoengine/dojo?tag=v1.1.1#dba10f26191bce47bb442ddc626ba7c6e2d8c160"
source = "git+https://github.com/dojoengine/dojo?tag=v1.2.1#3d4b1a3e662f70679813f9fb65c0b5c7fa5d6f0a"
23 changes: 15 additions & 8 deletions backend/dojo_examples/combat_game/Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,28 @@
[package]
cairo-version = "=2.9.2"
cairo-version = "2.9.2"
name = "combat_game"
version = "1.1.0"
edition = "2024_07"
version = "0.1.0"
edition = "2023_11"

[cairo]
sierra-replace-ids = true

[scripts]
migrate = "sozo build && sozo migrate" # scarb run migrate
sepolia = "sozo --profile sepolia clean && sozo --profile sepolia build && sozo --profile sepolia migrate --account-address $DEPLOYER_ACCOUNT_ADDRESS --private-key $DEPLOYER_PRIVATE_KEY --fee strk"

[dependencies]
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.1.1" }
dojo = { git = "https://github.com/dojoengine/dojo", tag = "v1.2.1" }
achievement = { git = "https://github.com/cartridge-gg/arcade", tag = "v1.2.1" }

[[target.starknet-contract]]
build-external-contracts = ["dojo::world::world_contract::world"]
build-external-contracts = [
"dojo::world::world_contract::world",
"achievement::events::index::e_TrophyCreation",
"achievement::events::index::e_TrophyProgression",
]

[dev-dependencies]
cairo_test = "=2.9.2"
dojo_cairo_test = { git = "https://github.com/dojoengine/dojo", tag = "v1.1.1" }
cairo_test = "2.9.2"
dojo_cairo_test = { git = "https://github.com/dojoengine/dojo", tag = "v1.2.1" }

[profile.sepolia]
Binary file removed backend/dojo_examples/combat_game/assets/cover.png
Binary file not shown.
Binary file removed backend/dojo_examples/combat_game/assets/icon.png
Binary file not shown.
26 changes: 0 additions & 26 deletions backend/dojo_examples/combat_game/dojo_dev.toml

This file was deleted.

26 changes: 0 additions & 26 deletions backend/dojo_examples/combat_game/dojo_release.toml

This file was deleted.

15 changes: 15 additions & 0 deletions backend/dojo_examples/combat_game/dojo_sepolia.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[world]
name = "Combat Game"
description = "Combat Game is an example game to show Dojo/Cairo capabilities/features to onboard new devs in the ecosystem in a smooth way. Built using Dojo Engine and Cartridge Controller on Starknet."
seed = "combat_game"

[namespace]
default = "combat_game"

[env]
rpc_url = "https://api.cartridge.gg/x/starknet/sepolia"

[writers]
"combat_game" = ["combat_game-game"]
"combat_game-TrophyCreation" = ["combat_game-game"]
"combat_game-TrophyProgression" = ["combat_game-game"]
Loading
Loading