Skip to content

Shpota/game-contract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe

Implemenattion of a Tic-Tac-Toe Game on Solana

You can play the game here. Make sure you have Phantom installed and you are using Solana Devnet.

The UI repository can be found here.

How to use

Build:

solana config set --url devnet
solana config get
anchor build

Get the new program id:

solana address -k target/deploy/tic_tac_toe-keypair.json

Update Anchor.toml and lib.rs with new program id.

Build again:

anchor build

Deploy:

 anchor deploy --provider.cluster devnet