---
title: "boardgame.io - Angryecho"
description: "Read the Documentation boardgame.io is an engine for creating turn-based games using JavaScript."
canonical_url: "https://www.angryecho.com/c/zhuo_you_ba/p/P2TBBkMKC7kcyZvlg54EQ"
meta:
  "og:description": "Read the Documentation boardgame.io is an engine for creating turn-based games using JavaScript."
  "og:image": "https://www.angryecho.com/_og/d/c_Post%2Ctitle_~5ZCQ5qe9572R%2Cdescription_~5ZCQ5qe95LiA5LiL77yM5bCx5LiK5ZCQ5qe9572R44CC%2CpostId_P2TBBkMKC7kcyZvlg54EQ%2Crevision_~MjAyNi0xMC0yNVQwMjo1Nzo1MC4xODM3Nzla%2Cp_Ii9jL3podW9feW91X2JhL3AvUDJUQkJrTUtDN2tjeVp2bGc1NEVRIg%2Cs_gj-fXypxig9OCHeG.png"
  "og:image:height": "630"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": boardgame.io
---

> Index of every page on this site: [llms.txt](https://www.angryecho.com/llms.txt)

# **boardgame.io**

![图片](https://raw.githubusercontent.com/boardgameio/boardgame.io/main/docs/logo-optimized.svg?sanitize=true)

**[Read the Documentation](https://boardgame.io/documentation/#/)**

**boardgame.io** is an engine for creating turn-based games using JavaScript.

Write simple functions that describe how the game state changes when a particular move is made. This is automatically converted into a playable game complete with online multiplayer features, all without requiring you to write a single line of networking or storage code.

### Features

- **State Management**: Game state is managed seamlessly across clients, server and storage automatically.
- **Multiplayer**: Game state is kept in sync in realtime and across platforms.
- **AI**: Automatically generated bots that can play your game.
- **Game Phases**: with different game rules and turn orders per phase.
- **Lobby**: Player matchmaking and game creation.
- **Prototyping**: Interface to simulate moves even before you render the game.
- **Extendable**: Plugin system that allows creating new abstractions.
- **View-layer Agnostic**: Use the vanilla JS client or the bindings for React / React Native.
- **Logs**: Game logs with the ability to time travel (viewing the board at an earlier state).

## Usage

### Installation

```
npm install boardgame.io
```

### Documentation

Read our [Full Documentation](https://boardgame.io/documentation/) to learn how to use boardgame.io, and join the [community on gitter](https://gitter.im/boardgame-io/General) to ask your questions!

### Running examples in this repository

```
npm install
npm start
```

The examples can be found in the [examples](https://github.com/boardgameio/boardgame.io/blob/main/examples/) folder.

#### Using VS Code?

This repository is ready to run in a dev container in VS Code. See [the contributing guidelines for details](https://github.com/boardgameio/boardgame.io/blob/main/CONTRIBUTING.md).

## Changelog

See [changelog](https://github.com/boardgameio/boardgame.io/blob/main/docs/documentation/CHANGELOG.md).

## Get involved

We welcome contributions of all kinds! Please take a moment to review our [Code of Conduct](https://github.com/boardgameio/boardgame.io/blob/main/CODE_OF_CONDUCT.md).

🐛 **Found a bug?** Let us know by [creating an issue](https://github.com/boardgameio/boardgame.io/issues/new/choose).

❓ **Have a question?** Our [Gitter channel](https://gitter.im/boardgame-io/General) and [GitHub Discussions](https://github.com/boardgameio/boardgame.io/discussions) are good places to start.

⚙️ **Interested in fixing a** **[bug](https://github.com/boardgameio/boardgame.io/issues?q=is%3Aissue+is%3Aopen+label%3Abug)**** or adding a** **[feature](https://github.com/boardgameio/boardgame.io/issues?q=is%3Aissue+is%3Aopen+label%3Afeature)****?** Check out the [contributing guidelines](https://github.com/boardgameio/boardgame.io/blob/main/CONTRIBUTING.md) and the [project roadmap](https://github.com/boardgameio/boardgame.io/blob/main/roadmap.md).

📖 **Can we improve** **[our documentation](https://boardgame.io/documentation/)****?** Pull requests even for small changes can be helpful. Each page in the docs can be edited by clicking the “Edit on GitHub” link at the top right.

## License

[MIT](https://github.com/boardgameio/boardgame.io/blob/main/LICENSE)

> 原文： [GitHub｜boardgame.io](https://github.com/boardgameio/boardgame.io)

排序方式 :

### **成为第一条评论！**

Nobody's responded to this post yet. Add your thoughts and get the conversation going.

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://www.angryecho.com/c/zhuo_you_ba/p/P2TBBkMKC7kcyZvlg54EQ#post","@type":"DiscussionForumPosting","commentCount":0,"dateModified":"2026-10-25T02:57:50.183Z","datePublished":"2026-10-24T19:33:02.747Z","description":"Read the Documentation boardgame.io is an engine for creating turn-based games using JavaScript.","headline":"boardgame.io","isPartOf":"https://www.angryecho.com/c/zhuo_you_ba","mainEntityOfPage":"https://www.angryecho.com/c/zhuo_you_ba/p/P2TBBkMKC7kcyZvlg54EQ","text":"Read the Documentation\n\nboardgame.io is an engine for creating turn-based games using JavaScript.\n\nWrite simple functions that describe how the game state changes\nwhen a particular move is made. This is automatically converted\ninto a playable game complete with online multiplayer\nfeatures, all without requiring you to write a single line of\nnetworking or storage code.\n\nFeatures\n\n\n\n\n\nState Management: Game state is managed seamlessly across clients, server and storage automatically.\n\n\n\nMultiplayer: Game state is kept in sync in realtime and across platforms.\n\n\n\nAI: Automatically generated bots that can play your game.\n\n\n\nGame Phases: with different game rules and turn orders per phase.\n\n\n\nLobby: Player matchmaking and game creation.\n\n\n\nPrototyping: Interface to simulate moves even before you render the game.\n\n\n\nExtendable: Plugin system that allows creating new abstractions.\n\n\n\nView-layer Agnostic: Use the vanilla JS client or the bindings for React / React Native.\n\n\n\nLogs: Game logs with the ability to time travel (viewing the board at an earlier state).\n\nUsage\n\nInstallation\n\nnpm install boardgame.io\n\nDocumentation\n\nRead our Full Documentation to learn how to\nuse boardgame.io, and join the community on gitter\nto ask your questions!\n\nRunning examples in this repository\n\nnpm install\nnpm start\n\nThe examples can be found in the examples folder.\n\nUsing VS Code?\n\nThis repository is ready to run in a dev container in VS Code. See the contributing guidelines for details.\n\nChangelog\n\nSee changelog.\n\nGet involved\n\nWe welcome contributions of all kinds!\nPlease take a moment to review our Code of Conduct.\n\n🐛 Found a bug?\nLet us know by creating an issue.\n\n❓ Have a question?\nOur Gitter channel and GitHub Discussions\nare good places to start.\n\n⚙️ Interested in fixing a bug or adding a feature?\nCheck out the contributing guidelines\nand the project roadmap.\n\n📖 Can we improve our documentation?\nPull requests even for small changes can be helpful. Each page in the\ndocs can be edited by clicking the “Edit on GitHub” link at the top right.\n\nLicense\n\nMIT\n\n\n\n原文：GitHub｜boardgame.io","url":"https://www.angryecho.com/c/zhuo_you_ba/p/P2TBBkMKC7kcyZvlg54EQ","author":{"@type":"Person","name":"UID:13513483","url":"https://www.angryecho.com/u/NGA13513483"},"image":["https://raw.githubusercontent.com/boardgameio/boardgame.io/main/docs/logo-optimized.svg?sanitize=true"],"interactionStatistic":[{"@type":"InteractionCounter","interactionType":"https://schema.org/LikeAction","userInteractionCount":0},{"@type":"InteractionCounter","interactionType":"https://schema.org/DislikeAction","userInteractionCount":0},{"@type":"InteractionCounter","interactionType":"https://schema.org/ViewAction","userInteractionCount":0},{"@type":"InteractionCounter","interactionType":"https://schema.org/ShareAction","userInteractionCount":0}]}]}
```

## Sitemap

See the full [sitemap](https://www.angryecho.com/sitemap.md) for all pages.
