The-Marquis-Gaming / checkers-dojo

1 stars 7 forks source link

Checkers

Checkers Game

Checkers is a classic board game implemented in a web environment using the Dojo Engine. This project leverages Starknet’s Layer 2 to create a fully decentralized, on-chain checkers game. All game logic, including player moves, validations, and win conditions, is implemented with smart contracts on Starknet, ensuring transparency and fairness.

Prerequisites

Before you begin, ensure you have the following installed on your machine:


Quick Start Guide

Terminal 1: The Marquis

Open a terminal and run:

cd the-marquis
yarn install 
yarn start

Terminal 2: Start Katana

Open a terminal and run:

cd dojo-starter
katana --disable-fee --allowed-origins "*"

Terminal 3: Build and Migrate the Project

In a second terminal, execute:

cd dojo-starter
sozo build
sozo migrate
torii --world 0x07e0aa9c93c6b71781b605aeeeb85ee7d097b592c85db0383515c7a17f262af3 --allowed-origins "*"

Terminal 4: Start the Client

In a third terminal, navigate to the client folder and run:

cd client
pnpm i
pnpm dev

Play

After completing the steps above, access the Checkers game by navigating to http://localhost:3000 in your web browser.


Notes