https://github.com/kalibani/crdt-tic-tac-toe
Tic Tac Toe Game
https://github.com/kalibani/crdt-tic-tac-toe
crdt crdt-implementations react yjs
Last synced: 4 months ago
JSON representation
Tic Tac Toe Game
- Host: GitHub
- URL: https://github.com/kalibani/crdt-tic-tac-toe
- Owner: kalibani
- Created: 2023-08-14T15:40:38.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-15T13:31:33.000Z (almost 3 years ago)
- Last Synced: 2024-04-14T17:25:57.357Z (about 2 years ago)
- Topics: crdt, crdt-implementations, react, yjs
- Language: JavaScript
- Homepage: https://crdt-tic-tac-toe-one.vercel.app/
- Size: 56.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
## How to Run:
- clone the repository
- enter to the crdt-tic-tac-toe directory
- hit npm i && npm run dev
## Try the live version here : https://crdt-tic-tac-toe-one.vercel.app/
- open 2 window of chrome
- start play and spot the live changes
this simple game are using Yjs as the CRDT model as shared data types that can be manipulated concurrently.