boardgame.io
State Management and Multiplayer Networking for Turn-Based Games
The project implements a lightweight but powerful engine for creating turn-based games (board games, card games, turn-based strategy, etc.) in JavaScript. With boardgame.io, you define the game logic in pure functions: you describe how the game state changes when a move is made, and the framework handles all the rest (state management, synchronization, storage, multiplayer, etc.).