Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

gear-foundation/dapps-tequila-train

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tequila Train Game

Build License

The tequila train game is quite similar to the Mexican train game but has several differences in rules.

🥃🚂 https://tequila-train.com

Prebuilt Binaries

Raw, optimized, and meta WASM binaries can be found in the Releases section.

Building Locally

Smart Contract

⚙️ Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

⚒️ Add specific toolchains

rustup toolchain add nightly
rustup target add wasm32-unknown-unknown --toolchain nightly

... or ...

make init-contracts

🏗️ Build

cd contracts
cargo build --release

... or ...

make contracts

✅ Run tests

cargo test --release

... or ...

make test-contracts

Frontend

Install yarn

npm install --global yarn

⚒️ Install deps

cd frontend && yarn

... or ...

make init-frontend

🏗️ Build

cd frontend && yarn build

... or ...

make frontend

🐱‍💻 Serve

cd frontend && yarn start

... or ...

make serve

🚀 Run everything with one command

make

License

The source code is licensed under the MIT license.