https://github.com/magicblock-labs/bolt-tic-tac-toe
Tic Tac Toe made with Bolt ECS (Entity Component System)
https://github.com/magicblock-labs/bolt-tic-tac-toe
Last synced: 5 months ago
JSON representation
Tic Tac Toe made with Bolt ECS (Entity Component System)
- Host: GitHub
- URL: https://github.com/magicblock-labs/bolt-tic-tac-toe
- Owner: magicblock-labs
- License: mit
- Created: 2024-04-06T15:28:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-21T15:11:20.000Z (about 1 year ago)
- Last Synced: 2025-06-21T15:29:16.532Z (about 1 year ago)
- Language: TypeScript
- Homepage: https://tic-tac-toe-bolt.netlify.app
- Size: 1.75 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 🚀 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:
```bash
npm install -g @magicblock-labs/bolt-cli
```
### Build the project
Navigate to the project directory and build the project:
```bash
bolt build
```
### Run the tests
Make sure everything is set up correctly by running the tests:
```bash
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`](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](https://tic-tac-toe-bolt.netlify.app) to play the game.
Demo is on DevNet, change your wallet network to DevNet to play the game.
