https://github.com/mubarizkyc/noughts-crosses-anchor
TicTacToe On Anchor
https://github.com/mubarizkyc/noughts-crosses-anchor
anchor anchor-lang blockchain proof-of-stake rust solana tictactoe tictactoe-game
Last synced: 8 months ago
JSON representation
TicTacToe On Anchor
- Host: GitHub
- URL: https://github.com/mubarizkyc/noughts-crosses-anchor
- Owner: mubarizkyc
- Created: 2024-06-16T17:07:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-23T17:55:21.000Z (over 1 year ago)
- Last Synced: 2025-01-04T23:41:49.526Z (10 months ago)
- Topics: anchor, anchor-lang, blockchain, proof-of-stake, rust, solana, tictactoe, tictactoe-game
- Language: TypeScript
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Noughts-Crosses-anchor
TicTacToe On Anchor
# Providing Wallet
set up the wallet variable to your keypair path in Anchor.toml
```console
[provider]
cluster = "localnet"
wallet = "KEYPAIR_PATH/KeyPair.json"
```
# How to Run
Make Sure You have Solana CLi Installed
https://docs.solanalabs.com/cli/install
```console
anchor build
```
Make Sure the Local Cluster is running
```console
solana-test-validator
```
```console
anchor deploy
```
# Testing
test Cases are present at tests/tic_tac_toe.ts
Stop the running Cluster,then
```console
anchor test
```
# Client
https://github.com/MubarizHaroon0/-Noughts-Crosses-Client