mubarizkyc / Noughts-Crosses-anchor

TicTacToe On Anchor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Noughts-Crosses-anchor

TicTacToe On Anchor

Providing Wallet

set up the wallet variable to your keypair path in Anchor.toml

[provider]
cluster = "localnet"
wallet = "KEYPAIR_PATH/KeyPair.json"

How to Run

Make Sure You have Solana CLi Installed https://docs.solanalabs.com/cli/install

anchor build

Make Sure the Local Cluster is running

solana-test-validator
anchor deploy 

Testing

test Cases are present at tests/tic_tac_toe.ts

Stop the running Cluster,then

anchor test

Client

https://github.com/MubarizHaroon0/-Noughts-Crosses-Client

About

TicTacToe On Anchor


Languages

Language:TypeScript 64.0%Language:Rust 36.0%