Skip to content

magicblock-labs/bolt-tic-tac-toe

Repository files navigation

TIC-TAC-TOE made with Bolt

A simple TIC-TAC-TOE made with Bolt

Tutorials Issues Discord Chat License

🚀 Getting Started

This guide provides a quick setup to start playing Tic-Tac-Toe using Bolt. Follow the steps below to install, build, and test the project.

Install the Bolt CLI

Bolt CLI is required to build and test the Tic-Tac-Toe UI. Install it globally using npm:

npm install -g @magicblock-labs/bolt-cli

Build the project

Navigate to the project directory and build the project:

bolt build

Run the tests

Make sure everything is set up correctly by running the tests:

bolt test

React Tic-Tac-Toe

Inside this repository, you'll find an example React client implementing the Tic-Tac-Toe game. This example serves as a practical demonstration of how to integrate with a Bolt program effectively.

Location: The React Tic-Tac-Toe client can be found in the app/react-tic-tac-toe directory.

Features: This example showcases basic gameplay functionalities, including a graphical user interface for playing Tic-Tac-Toe, interaction with the Bolt program for game logic, and a template for further customization.

🕹️Live Demo

Click here to play the game.

Demo is on DevNet, change your wallet network to DevNet to play the game.