pureboard
v1.17.1
Published
A library for creating multiplayer boardgames
Maintainers
Readme
pureboard
A library for creating multiplayer boardgames
Install
npm install pureboardUsage
pureboard is a library that allows for easy implementation of multiplayer games, by replicating actions on a state. It's designed for boardgame-like games, but can be used for other projects. It uses zustand for state management, so replicated state on client can be easily used in a React project.
Example
See example directory for example of a online multiplayer connect4 game.
- Run
npm installin root directory - Run
npm installin theexampledirectory - Run
npm run devin theexampledirectory - Open http://localhost:3000 in your browser
