Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Market packed #283

Open
wants to merge 198 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
198 commits
Select commit Hold shift + click to select a range
6f55cc3
update to dojo 0.4.2
notV4l Dec 21, 2023
164321c
update to dojo 0.4.2
notV4l Dec 21, 2023
39010ca
0.5.0
notV4l Jan 19, 2024
db514b2
v0.5.0 with local dojo.js packages
notV4l Jan 19, 2024
a1975d6
temp
notV4l Jan 17, 2024
bdb622d
market packed
notV4l Jan 23, 2024
a4ced99
fix build issues & cleaning
notV4l Jan 23, 2024
c64be6c
fix bug infinte load crash
notV4l Jan 24, 2024
887b0dc
remove hood_id
notV4l Jan 24, 2024
92b7ca2
temp
notV4l Jan 24, 2024
c09272f
remove start_time
notV4l Jan 24, 2024
b14a759
remove max_players
notV4l Jan 24, 2024
b013054
remove num_players
notV4l Jan 24, 2024
71e5c32
remove legacy tests
notV4l Jan 24, 2024
e4a3b55
fix build
notV4l Jan 24, 2024
3460f74
remove creator
notV4l Jan 24, 2024
2703188
cleaning
notV4l Jan 24, 2024
d5eaccd
wip, cleaning & refactoring & experiments
notV4l Jan 25, 2024
2107839
refactoring
notV4l Jan 26, 2024
be64325
stores in DojoContext
notV4l Jan 26, 2024
1c5b333
remove externals
notV4l Jan 26, 2024
8afa47b
format
notV4l Jan 26, 2024
672a63b
moving config into models
notV4l Jan 26, 2024
531665f
load config from torii
notV4l Jan 29, 2024
8fe5639
useRouterContext
notV4l Jan 29, 2024
bfdd979
start using configStore
notV4l Jan 30, 2024
60e7adb
cleaning
notV4l Jan 30, 2024
fdcb74a
packed state WIP
notV4l Jan 31, 2024
cf95424
wip
notV4l Feb 2, 2024
3cb4d02
mega commit
notV4l Feb 2, 2024
30709b4
gas opti
notV4l Feb 3, 2024
2bfac86
trade & wanted simple
notV4l Feb 5, 2024
40f57cb
better market & shop
notV4l Feb 6, 2024
fc8b8a2
trade & shop & travel
notV4l Feb 8, 2024
22527e9
cleaning & fix some build issues
notV4l Feb 8, 2024
4cb0d01
pawnshop
notV4l Feb 9, 2024
88a47a5
add hustlers icons
notV4l Feb 9, 2024
2543902
basic encounters
notV4l Feb 9, 2024
c6369d4
wip encounters & events
notV4l Feb 12, 2024
87ee10b
wip decide & events
notV4l Feb 14, 2024
c9673e0
limit shopping
notV4l Feb 14, 2024
2f6c316
almost basic game loop
notV4l Feb 14, 2024
153389a
leaderboard & cleaning
notV4l Feb 16, 2024
12916e5
make it build..
notV4l Feb 16, 2024
14ba092
deploy
notV4l Feb 16, 2024
d1d8f6f
fix
notV4l Feb 16, 2024
ff69a3e
with music
notV4l Feb 16, 2024
1e55350
v0.6.0-alpha.0
notV4l Feb 20, 2024
ae4e4ba
hustler items wip
notV4l Feb 21, 2024
2710d7d
hustler items
notV4l Feb 22, 2024
cb22f08
jailed & hospitalized
notV4l Feb 22, 2024
b190a5a
wanted
notV4l Feb 23, 2024
b902043
drug progression
notV4l Feb 23, 2024
03a5d7e
ogstuff
notV4l Feb 23, 2024
646e518
tuning
notV4l Feb 26, 2024
ac2f24b
add Connect
notV4l Feb 27, 2024
c8cb647
v0.6.0-alpha.2
notV4l Feb 27, 2024
6589b63
update powermeter
notV4l Feb 27, 2024
c96e460
wip
notV4l Feb 27, 2024
7e6c345
reorg mods & fmt
notV4l Feb 28, 2024
ee9bbde
paper stuff
notV4l Feb 28, 2024
975747e
name by game
notV4l Mar 1, 2024
89bb103
reorg components
notV4l Mar 1, 2024
3f87d1d
hustler profile
notV4l Mar 1, 2024
d7602f7
deploy test version
notV4l Mar 1, 2024
5f95bf6
temp provider
notV4l Mar 1, 2024
6425dfd
bump version 0.6.0-alpha.3
notV4l Mar 4, 2024
43735a4
fix logic
notV4l Mar 4, 2024
c037269
fix payout & tune
notV4l Mar 4, 2024
7d32196
loadout
notV4l Mar 4, 2024
fe51dc2
better map
notV4l Mar 4, 2024
b4fe25c
ui changes
notV4l Mar 4, 2024
fa3a278
hall of fame & stuff
notV4l Mar 5, 2024
d93453f
basic claim
notV4l Mar 6, 2024
0a76ca5
redeploy
notV4l Mar 6, 2024
0a2f39b
fix spectator logs
notV4l Mar 6, 2024
6d21ee0
starknetjs 6.2.0
notV4l Mar 7, 2024
9404591
encounter images
notV4l Mar 7, 2024
887bd06
ui update
notV4l Mar 7, 2024
bed8a2c
remove unecessary stuff
notV4l Mar 7, 2024
8fd6d9a
reputation ranks
notV4l Mar 7, 2024
bab2f2e
add too_poor_to_get_rekt
notV4l Mar 7, 2024
f39bfd7
fixes
notV4l Mar 7, 2024
42f478c
adustments
notV4l Mar 8, 2024
3617d65
wip
notV4l Mar 11, 2024
ce8ec9f
wip
notV4l Mar 12, 2024
e355212
fix build issues
notV4l Mar 12, 2024
7f0ba07
genesis experiment
notV4l Mar 13, 2024
5e83754
add claim button & modal
notV4l Mar 13, 2024
be26662
entry_fee & tokenBalance
notV4l Mar 13, 2024
ba10b19
test with github branch ref
notV4l Mar 13, 2024
6acbdff
full uri
notV4l Mar 13, 2024
b23ba93
full uri
notV4l Mar 13, 2024
0f9e219
smol uri
notV4l Mar 13, 2024
5713404
rank
notV4l Mar 14, 2024
f0d8331
more drugs, more fun
notV4l Mar 14, 2024
b59d2ae
shuffle_drug_prices after level up
notV4l Mar 14, 2024
25f645b
fix build erros
notV4l Mar 15, 2024
557d02c
wip
notV4l Mar 20, 2024
cd01dcc
make it build
notV4l Mar 21, 2024
9e03e3c
building
notV4l Mar 21, 2024
2d356c6
wip
notV4l Mar 22, 2024
2c658f9
420 & 421
notV4l Mar 23, 2024
ac882ee
small ui adjustements
notV4l Mar 25, 2024
72ec9d6
update drug images
notV4l Mar 25, 2024
f01a6b7
simple admin ui
notV4l Mar 25, 2024
4e13166
with predeployed connector
notV4l Mar 26, 2024
5516eb5
better error handling
notV4l Mar 29, 2024
a0b0070
deployed
notV4l Mar 29, 2024
abd0439
temp: alpha10
notV4l Apr 1, 2024
22ce394
reputation
notV4l Apr 1, 2024
97bf792
change table / admin
notV4l Apr 2, 2024
753ebe2
add table icons
notV4l Apr 2, 2024
cac5882
new encounters wip
notV4l Apr 3, 2024
1a4f0b8
fixes
notV4l Apr 3, 2024
45a8c33
0.6.0
notV4l Apr 8, 2024
5f2d26b
base encounter admin
notV4l Apr 9, 2024
4c7af86
deployed
notV4l Apr 9, 2024
cb6b454
analytics -> speedInsights
notV4l Apr 10, 2024
da99e69
ui fixes
notV4l Apr 10, 2024
4f9f157
dojo.js dependency
notV4l Apr 10, 2024
ef6c86f
us-east
notV4l Apr 10, 2024
041bd43
Threat matrix UI changes (#322)
satyambnsal Apr 11, 2024
1927e4d
new encounters wip
notV4l Apr 11, 2024
aa2168b
new encounters wip
notV4l Apr 12, 2024
1bb2048
ui fixes
notV4l Apr 13, 2024
23b3bb7
ui fixes
notV4l Apr 13, 2024
c9dc5e9
encounter admin & fixes
notV4l Apr 14, 2024
b2a656e
v0.6.1-alpha.1
notV4l Apr 14, 2024
4697db8
v0.6.1-alpha.1
notV4l Apr 14, 2024
7143796
redeploy
notV4l Apr 15, 2024
ad8ba86
redeploy
notV4l Apr 15, 2024
f98f444
rermove dope-mock
notV4l Apr 30, 2024
71fbba7
basic game history
notV4l Apr 30, 2024
c80a860
cops & gang names
notV4l Apr 30, 2024
4ddd07c
force green katana icon
notV4l Apr 30, 2024
74af146
update images
notV4l Apr 30, 2024
329524f
fix build issue
notV4l Apr 30, 2024
adb32de
update scripts
notV4l Apr 30, 2024
c764424
query all game infos
notV4l Apr 30, 2024
474060d
fix manifest
notV4l Apr 30, 2024
8357db0
v0.7.0-alpha.0
notV4l May 2, 2024
5f2d3f6
with sepolia
notV4l May 6, 2024
1652a9b
add payout structure
notV4l May 6, 2024
0bc657f
season rewards wip
notV4l May 6, 2024
edb7865
laundromat wip
notV4l May 7, 2024
008e1a0
laundromat wip
notV4l May 9, 2024
287ea1a
laundromat wip
notV4l May 13, 2024
b88211c
use store & library calls
notV4l May 15, 2024
bac41a2
update drawer menu
notV4l May 15, 2024
2f7a595
hall of fame & leaderboard
notV4l May 16, 2024
555e3b3
claim rewards
notV4l May 16, 2024
9143186
add volume
notV4l May 16, 2024
03a1441
vertical table
notV4l May 16, 2024
8291a7b
some admin
notV4l May 16, 2024
9a88cb8
seasons page
notV4l May 17, 2024
29d800b
new reputation ui & ui fixes
notV4l May 17, 2024
caa8c6e
fix build issues
notV4l May 17, 2024
cd4ce96
fixes
notV4l May 17, 2024
85420d2
test metadatas
notV4l May 17, 2024
6bba67f
update og/twitter metadatas
notV4l May 17, 2024
44a24bb
prepare 421
notV4l May 17, 2024
e59dc9b
ryo421
notV4l May 17, 2024
399313e
season settings wip
notV4l May 21, 2024
ee438c1
add launder progress bar
notV4l May 22, 2024
d0f899a
add gameConfig
notV4l May 22, 2024
bad4ecf
update gangs images
notV4l May 22, 2024
a93c90f
better admin
notV4l May 22, 2024
aed3b3a
add wanted mode
notV4l May 23, 2024
64244db
bump hustlers items stats
notV4l May 23, 2024
a29e107
fix history page
notV4l May 23, 2024
665e0d9
ui stuff
notV4l May 23, 2024
f1a1e22
Season laundromat2 (#356)
notV4l May 27, 2024
9a802c2
deploy ryo420
notV4l May 27, 2024
cab4cf2
update form
notV4l May 27, 2024
e835d61
ui fixes
notV4l May 29, 2024
7631bf8
dope wars
notV4l May 29, 2024
27f970d
player stats
notV4l May 29, 2024
f1eec3f
ui fixes
notV4l May 29, 2024
0c75092
moarr stats
notV4l May 29, 2024
595ed23
Market packed alpha5 (#369)
notV4l May 31, 2024
27ec60d
rebuild
notV4l May 31, 2024
6bbab21
fix tix
notV4l Jun 4, 2024
7ea7f83
fix stats
notV4l Jun 4, 2024
33510b1
fix turns issue
notV4l Jun 4, 2024
0b91be7
random
notV4l Jun 6, 2024
9e40974
fix & tune settings for next tests
notV4l Jun 10, 2024
4166501
Revert "fix stats"
notV4l Jun 10, 2024
91683f9
Add files via upload
clicksave Jun 17, 2024
90db598
Delete .github/banner-wide-dw.png
clicksave Jun 17, 2024
4bfb18d
Market packed2 (#379)
notV4l Jun 20, 2024
93deed1
fix history
notV4l Jun 24, 2024
aa1fc06
connector 0.3.30 & paymaster
notV4l Jun 24, 2024
fd2ad53
impermanent win indicator
notV4l Jun 24, 2024
87cfa07
leaderboard pointer
notV4l Jun 26, 2024
9013f4d
fix history link
notV4l Jul 5, 2024
bf79f02
fixed maxFee
notV4l Jul 8, 2024
3cf27db
end playtest
notV4l Aug 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file modified .github/banner-wide.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ jobs:
sudo apt-get install -y curl

- name: Download Dojo release artifact
# curl -L -o dojo-linux-x86_64.tar.gz https://github.com/dojoengine/dojo/releases/download/nightly/dojo_nightly_linux_amd64.tar.gz
run: |
curl -L -o dojo-linux-x86_64.tar.gz https://github.com/dojoengine/dojo/releases/download/v0.2.2/dojo_v0.2.2_linux_amd64.tar.gz
curl -L -o dojo-linux-x86_64.tar.gz https://github.com/dojoengine/dojo/releases/download/v0.5.0/dojo_v0.5.0_linux_amd64.tar.gz
tar -xzf dojo-linux-x86_64.tar.gz
sudo mv sozo /usr/local/bin/

Expand Down
25 changes: 24 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
target
target
abis

genesis.json

/manifests/*

!/manifests/dev
/manifests/dev/*
!/manifests/dev/overlays

!/manifests/ryo420
/manifests/ryo420/*
!/manifests/ryo420/overlays

!/manifests/ryo421
/manifests/ryo421/*
!/manifests/ryo421/overlays

!/manifests/ryosepolia
/manifests/ryosepolia/*
!/manifests/ryosepolia/overlays


1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
scarb 2.6.3
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
![Roll Your Own Banner](.github/banner-wide.png)
![Dope Wars Banner](.github/banner-wide.png)

# Roll Your Own
# Dope Wars

![Github Actions][gha-badge]

[gha-badge]: https://img.shields.io/github/actions/workflow/status/cartridge-gg/rollyourown/test.yml?branch=main

Roll Your Own is an onchain adaptation of the original Drug Wars game, built on Starknet using the [Dojo Engine](https://github.com/dojoengine/dojo).
Dope Wars is an onchain adaptation of the original Drug Wars game, built on Starknet using the [Dojo Engine](https://github.com/dojoengine/dojo).

## Development

Expand Down
11 changes: 9 additions & 2 deletions Scarb.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ version = 1

[[package]]
name = "dojo"
version = "0.3.15"
source = "git+https://github.com/dojoengine/dojo.git?tag=v0.3.15#cdbaca4121b1642e1a8ca40d6831bad73d28ed26"
version = "0.7.2"
dependencies = [
"dojo_plugin",
]
Expand All @@ -17,6 +16,14 @@ source = "git+https://github.com/dojoengine/dojo?tag=v0.3.11#1e651b5d4d3b79b14a7
[[package]]
name = "rollyourown"
version = "0.1.0"
dependencies = [
"dojo",
"token",
]

[[package]]
name = "token"
version = "0.0.0"
dependencies = [
"dojo",
]
115 changes: 88 additions & 27 deletions Scarb.toml
Original file line number Diff line number Diff line change
@@ -1,51 +1,112 @@
[package]
cairo-version = "2.3.0"
cairo-version = "2.6.3"
name = "rollyourown"
version = "0.1.0"

[cairo]
sierra-replace-ids = true
# sierra-replace-ids = true

[dependencies]
# cubit = {git = "https://github.com/influenceth/cubit.git"}
dojo = {git = "https://github.com/dojoengine/dojo.git", tag = "v0.3.15"}
# dojo = {git = "https://github.com/dojoengine/dojo.git", rev = "d7f46502cba3d6462b68a4dfb07336377bca2678"}
# dojo = {git = "https://github.com/dojoengine/dojo", tag = "v0.7.1"}
# token = { git = "https://github.com/dojoengine/origami", tag = "v0.7.1"}
dojo = { path = "../dojo/crates/dojo-core" }
token = { path = "../origami" }

[[target.dojo]]

[scripts]
katana = "katana --disable-fee --invoke-max-steps 999999999"

#
katana = "katana --disable-fee --invoke-max-steps 2000000"
build = "sozo build && scarb run gendojo"

# common
copy_manifest = "./scripts/copy_manifest.sh"
gendojo = "./scripts/gen.sh"
auth = "./scripts/default_auth.sh dev"
auth_staging = "./scripts/default_auth.sh staging"
auth_prod = "./scripts/default_auth.sh prod"
migrate = "sozo -P dev migrate && scarb run gendojo && scarb run auth"
migrate_staging = "sozo -P staging migrate"
# migrate_staging = "sozo migrate --rpc-url https://api.cartridge.gg/x/ryodev/katana --account-address 0x6e857786bbd1652857d673836c41e0544d9d5ecd3e7a1bbde744e328b8cc2f6 --private-key 0x5e9d85de083b7ddd3029c44de2997ceba8384074bbebb66696a1b507f0466fc"
migrate_prod = "sozo -P prod migrate"

[profile.dev.tool.dojo.env]
auth = "./scripts/default_auth.sh"


# migrate && scarb run gendojo $PROFILE
migrate = "PROFILE=dev && sozo -P $PROFILE build && sozo -P $PROFILE migrate apply -vvv && scarb run copy_manifest $PROFILE && scarb run gendojo $PROFILE && scarb run auth $PROFILE"
migrate_ryo420 = "PROFILE=ryo420 && sozo -P $PROFILE build && sozo -P $PROFILE migrate apply && scarb run copy_manifest $PROFILE && scarb run auth $PROFILE"
migrate_ryo421 = "PROFILE=ryo421 && sozo -P $PROFILE build && sozo -P $PROFILE migrate apply && scarb run copy_manifest $PROFILE && scarb run gendojo $PROFILE && scarb run auth $PROFILE"

migrateplan_sepolia = "PROFILE=ryosepolia && sozo -P $PROFILE build && sozo -P $PROFILE migrate plan --name ryo003"
migrate_sepolia = "PROFILE=ryosepolia && sozo -P $PROFILE build && sozo -P $PROFILE migrate apply -vvv --name ryo003 --fee-estimate-multiplier 5 && scarb run copy_manifest $PROFILE"
auth_sepolia = "PROFILE=ryosepolia && scarb run auth $PROFILE"

# slot ryo420
slot_ryo420_katana = "slot d create ryo420 katana --version v0.7.0-alpha.5 -a 4 -b 5000 --disable-fee true --invoke-max-steps 1000000"
slot_ryo420_torii = "slot d create ryo420 torii --rpc https://api.cartridge.gg/x/ryo420/katana -s 0 --index-pending true --version v0.7.0-alpha.5 --world 0x78fcdfcc137fa18770f660ba2e8a3cf263907df38dfd462dc4dda048979c011"

# slot ryo421
slot_ryo421_katana = "slot d create ryo421 katana --seed 421 --version v0.7.1 -a 4 -b 5000 --disable-fee true --invoke-max-steps 1000000"
slot_ryo421_torii = "slot d create ryo421 torii --rpc https://api.cartridge.gg/x/ryo421/katana -s 0 --index-pending true --version v0.7.1 --world 0x2f569ad903a00476656bec6a74c954ef01e48202652bbab0149574d5f6d829"

# slot ryo_sepolia
slot_ryosepolia_torii = "slot d create ryosepolia torii --rpc https://api.cartridge.gg/rpc/starknet-sepolia -s 75075 --index-pending true --version v0.7.2 --world 0x2fc5b78f171fd1d6a5842276902dcbd91c770fb01e56bc293392e3931ffe817"


[[target.dojo]]
build-external-contracts = [
"token::components::security::initializable::initializable_model",
"token::components::token::erc20::erc20_metadata::erc_20_metadata_model",
"token::components::token::erc20::erc20_balance::erc_20_balance_model",
"token::components::token::erc20::erc20_allowance::erc_20_allowance_model",
"token::components::token::erc20::erc20_mintable::erc_20_mintable_model",
"token::components::token::erc20::erc20_burnable::erc_20_burnable_model",
]

[tool.dojo.env]
rpc_url = "http://localhost:5050"
account_address = "0x517ececd29116499f4a1b64b094da79ba08dfd54a3edaa316134c41f8160973"
account_address = "0x6162896d1d7ab204c7ccac6dd5f8e9e7c25ecd5ae4fcb4ad32e57786bb46e03"
private_key = "0x1800000000300000180000000000030000000000003006001800006600"

# seed 420
# [profile.staging.tool.dojo.env]
# rpc_url = "https://api.cartridge.gg/x/ryodev/katana"
# account_address = "0x6e857786bbd1652857d673836c41e0544d9d5ecd3e7a1bbde744e328b8cc2f6"
# private_key = "0x5e9d85de083b7ddd3029c44de2997ceba8384074bbebb66696a1b507f0466fc"
[profile.ryo420.tool.dojo.env]
rpc_url = "https://api.cartridge.gg/x/ryo420/katana"
account_address = "0x2ea5a09a95ee73556a3ef6420c11a8df775fe4f06e58fd9f7a21b5d99e0b5ea"
private_key = "0x18055e629284db77daa8d60e4ca767d65807c3f1690785006e46d6e63a13d54"

[profile.ryo421.tool.dojo.env]
rpc_url = "https://api.cartridge.gg/x/ryo421/katana"
account_address = "0x7d806fc9478c73c60fac37c27888771bdb3092c21eb93452277e7673954d034"
private_key = "0x784b1dd14d761c414c6394fccca3ca1d1b0cac187e88122e4b06378f9e8c515"

[profile.ryosepolia.tool.dojo.env]
# world_address= "0x10c26511d4264cf894246bdbe2efc53cf99632d1fcd5fab7283649c34ca0494"
rpc_url = "https://api.cartridge.gg/rpc/starknet-sepolia"
account_address = "0x3677d8443f74dcc6cd23c4b3f217256c70f084ee7edc4ddc431af2ce91eb936"
keystore_path = "/Users/boo/sozo_acc"
# password = "sozo_acc"

# [profile.prod.tool.dojo.env]
# rpc_url = "https://api.cartridge.gg/x/ryo/katana"
# account_address = "0x6e857786bbd1652857d673836c41e0544d9d5ecd3e7a1bbde744e328b8cc2f6"
# private_key = "0x5e9d85de083b7ddd3029c44de2997ceba8384074bbebb66696a1b507f0466fc"
# rpc_url = "https://api.cartridge.gg/x/ryo420/katana"
# account_address = "0x795abc2a2d5866f75c58025741329973db20966d1add5dd2a9fbdf0bb8a0266"
# private_key = "0x2e8ac99614186737cefc47effe03134f5a19c6dc2443c16510d3384769f9c78"

[tool.dojo.world]
name = "Roll Your Own"
description = "Onchain adaptation of the classic Drug Wars game. An immersive recreation of the 1999 TI-83 classic where street smarts reign supreme and every choice matters in the end."
name = "Dope Wars"
description = "Dope Wars is an onchain adaptation of the classic arbitrage game Drug Wars, built by Cartridge in partnership with Dope DAO."
website = "https://rollyourown.preview.cartridge.gg/"
icon_uri = "file://assets/icon.png"
cover_uri = "file://assets/cover.png"
socials.x = "https://x.com/TheDopeWars"


[profile.ryosepolia.tool.dojo.world]
name = "Dope Wars"
description = "Dope Wars is an onchain adaptation of the classic arbitrage game Drug Wars, built by Cartridge in partnership with Dope DAO.."
website = "https://dopewars.game/"
icon_uri = "file://assets/icon.png"
cover_uri = "file://assets/cover.png"
socials.x = "https://x.com/TheDopeWars"


# alpha.3
# create game : Steps: 272281 | Bitwise: 194 | Ec Op Builtin: 3 | L 1 Blob Gas Usage: 0 | L1 Gas: 10176 | Pedersen: 50 | Poseidon Builtin: 60 | Range Checks: 42093
# buy & travel : Steps: 420350 | Bitwise: 296 | Ec Op Builtin: 3 | L 1 Blob Gas Usage: 0 | L1 Gas: 3550 | Pedersen: 56 | Poseidon Builtin: 37 | Range Checks: 77213
# sell & encounter : Steps: 250413 | Bitwise: 188 | Ec Op Builtin: 3 | L 1 Blob Gas Usage: 0 | L1 Gas: 3549 | Pedersen: 33 | Poseidon Builtin: 29 | Range Checks: 42965

# alpha.5
# create game : Steps: 123719 | Bitwise: 194 | Ec Op Builtin: 3 | L 1 Blob Gas Usage: 0 | L1 Gas: 10176 | Pedersen: 50 | Poseidon Builtin: 74 | Range Checks: 8641
# buy & travel : Steps: 124923 | Bitwise: 296 | Ec Op Builtin: 3 | L 1 Blob Gas Usage: 0 | L1 Gas: 3548 | Pedersen: 55 | Poseidon Builtin: 37 | Range Checks: 11166
# sell & encounter : Steps: 90913 | Bitwise: 190 | Ec Op Builtin: 3 | L 1 Blob Gas Usage: 0 | L1 Gas: 3549 | Pedersen: 33 | Poseidon Builtin: 29 | Range Checks: 7241
Binary file modified assets/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading