qmetrics.net

boardgame.io

JavaScript engine for turn-based multiplayer board and card games

boardgame.io screenshot

boardgame.io helps you build turn-based games in JavaScript by describing moves as functions. It handles game state, storage, and online multiplayer so you can skip low-level networking code.

Overview

boardgame.io is a JavaScript engine for creating turn-based games such as board games, card games, and tabletop-style experiences. You write simple functions that define how game state changes when a move is made; the engine turns that logic into a playable game with synchronized state across clients.

Built-in capabilities include coordinated state across clients and server, real-time multiplayer sync across platforms, optional AI bots, game phases with different rules and turn orders, a lobby for matchmaking and game creation, and a prototyping interface to simulate moves before you build a full UI. A plugin system supports extensions, and you can use a plain JavaScript client or bindings for React and React Native.

Game logs support reviewing earlier board states. Installation is via npm for use in your own game projects. The engine targets developers who want structured turn-based game logic with networking and persistence handled by the framework rather than written by hand.

Key features

  • Automatic game state management
  • Real-time multiplayer synchronization
  • Auto-generated AI opponents
  • Multi-phase game rules
  • Player lobby and matchmaking
  • Move prototyping without full UI
  • React and React Native bindings
  • Time-travel game logs

Use cases

  • Online board game prototypes
  • Card game multiplayer apps
  • Turn-based tabletop digital versions
  • React-based browser games
  • Cross-platform mobile turn-based games

Tags

Similar software

Bevy Engine

Rust game engine with ECS architecture

Bevy Engine is a data-driven Rust game engine for 2D and 3D work. It emphasizes modularity, parallel execution, and fast iteration while the project remains under active development.

★ 50k⟳ yesterdayApache-2.0
Open Source Alternative to:Unity

Phaser

HTML5 2D game framework with Canvas and WebGL

Phaser is a JavaScript and TypeScript framework for browser games on desktop and mobile, with scene APIs, physics, animations, and loaders. Games can target embed platforms or wrap for native stores via third-party tooling

★ 40.8k⟳ 3 months agoMIT

raylib

Minimal C library for games and graphical programs

raylib is a C99 graphics and game programming library with no mandatory external dependencies. It suits prototypes, tools, education, and embedded targets across desktop, mobile, and web.

★ 35.8k⟳ todayZlib
Frameworks & PlatformsDesktop/CLI app

Matter.js

JavaScript two-dimensional rigid body physics engine

Matter.js simulates 2D rigid-body physics for browser games and interactive pages. It runs in modern browsers and Node.js with canvas rendering and touch-friendly controls.

★ 18.7k⟳ 1 month agoMIT
Frameworks & PlatformsDesktop/CLI app

wgpu

Cross-platform safe Rust graphics API

wgpu implements the WebGPU-style API in Rust for native and WebAssembly targets. It backs Firefox, Servo, and Deno WebGPU integration and maps to Vulkan, Metal, D3D12, and GLES.

★ 18.7k⟳ todayApache-2.0
Frameworks & PlatformsDesktop/CLI app

GLFW

Cross-platform windowing library for OpenGL and Vulkan

GLFW is a C library that creates windows, graphics contexts, and surfaces while handling input and events. It targets OpenGL, OpenGL ES, and Vulkan on desktop and Unix-like systems.

★ 15.5k⟳ 3 months agoZlib
Frameworks & PlatformsDesktop/CLI app