This is the monorepo for DEATH-MACHINE a smart-contract game on Starknet. Death-Machine is fully playable on Starknet-Testnet with a late April release planned for Mainnet. We are still have a TON to build so expect plenty of rough edges! If you find any issues please submit a bug-report.
The game can be found at https://death-machine.vercel.app/
Cairo contracts. This directory contains the game code written in Cairo, as well as python deployment and testing scripts.
To set up the python virtual environement in the directory run.
python3.9 -m venv venv
source venv/bin/activate
pip install poetry
and then.
poetry install
To run unit tests.
pytest test/test_simulator --asyncio-mode=auto
The main folders in the directory are laid out below. Cairo smart-contracts are in the contracts folder.
ο contracts
βββ ο build
βββ ο deployer
βββ ο src
β βββ ο board
β βββ ο simulator.cairo
β βββ ο game
β βββ ο utils
βββ ο tests
Starknet event indexer using Apibara.
React Frontend