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

Godot

Cross-platform 2D and 3D game engine

Godot Engine lets creators build 2D and 3D games from one editor and export to desktop, mobile, web, and console targets through publishers.

  • Unified 2D and 3D editor
  • Node and scene workflow
  • GDScript, C#, and C++ scripting
C++Web, Linux, macOS, WindowsDetails →
★ 121.4k⟳ todayMIT
Open Source Alternative to:Unity

Bevy

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.

  • Entity-component-system core
  • 2D and 3D renderers
  • Render graph pipelines
RustLinux, macOS, Windows, AndroidDetails →
★ 50.2k⟳ todayApache-2.0 · open core
Open Source Alternative to:Unity

PixiJS

HTML5 WebGL and WebGPU 2D graphics library

PixiJS is a browser library for fast 2D rendering with WebGPU or WebGL. It targets games, ads, apps, and interactive sites.

  • WebGPU and WebGL 2D rendering
  • Spritesheets and asset loader
  • Filters and custom shaders
TypeScriptWeb, CLIDetails →
★ 49k⟳ 4 days agoMIT

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

  • Canvas and WebGL rendering
  • Scene-based game structure
  • Arcade and Matter.js physics
JavaScriptWebDetails →
★ 40.9k⟳ todayMIT

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.

  • Bundled dependencies in one library
  • OpenGL and software render paths
  • 2D, 3D, audio, and input modules
CLinux, macOS, Windows, AndroidDetails →
★ 35.9k⟳ yesterdayZlib

GDevelop

Cross-platform no-code game engine for 2D and 3D

GDevelop is no-code game development software for building 2D, 3D, and multiplayer games for mobile, desktop, and the web. It uses an event-based system, modular behaviors, and optional AI assistance.

  • No-code event-based game logic
  • 2D and 3D WebGL rendering
  • Modular attachable behaviors
JavaScriptWeb, Linux, macOS, WindowsDetails →
★ 29.6k⟳ todayMIT · open core
Game DevelopmentDesktop/CLI app
Open Source Alternative to:Unity