Skip to content
AI-powered appsNewChat, vision, voice, generationBookings & schedulingAppointments that book themselvesShops & sellingA storefront in every pocketClient & businessRun the operation from one placeCommunities & clubsA home that is not a group chat
Health & wellnessHabits, tracking and calmGames2D, 3D and multiplayerPersonal & toolsThe tool you wish existedInternal toolsThe tool ops never had time for
See all use cases
ArcadeNewPricingSecurity
EngineThe game engine and World EditorHow it worksFrom one sentence to a live productDocsGuides for building and publishingBlogStories, guides and newsChangelogWhat shipped latelyStatusUptime of every serviceSupportGet help from the team
AI-powered appsBookings & schedulingShops & sellingClient & businessCommunities & clubsHealth & wellnessGamesPersonal & toolsInternal tools
See all use cases
ArcadeNewPricingSecurity
EngineHow it worksDocsBlogChangelogStatusSupport
Language
Blog
GamesNovember 22, 20266 min read

How to Turn a Board Game Into an Online Game

At the table, people enforce the rules. Online, the code has to. Here is how to turn a rulebook into state, actions and turns, and how to make async play work.

Startbase Team
Editorial ink illustration of a paper board game unfolding with wooden meeples and dice, one meeple in ember orange

Key takeaways

  • A digital board game is three things: the state of the table, a list of legal actions, and a function that applies an action to the state.
  • Rulebooks lean on players to resolve edge cases. Write those cases down before building, or the game will get them wrong.
  • Async play (turns over hours or days) needs saved games, a move log and a nudge when it is your turn.
  • Hidden information, like hands and decks, must live on the server, never in every player's browser.

To turn a board game into an online game, describe the game as data: what is on the table (the state), what a player is allowed to do (legal actions), and what happens when they do it (resolution). Then decide how turns flow (strict order, phases, simultaneous choices) and whether people play live in one sitting or asynchronously over days. Build the rules engine first and the pretty board second. Most digital board games that feel broken have a beautiful board and a rules engine that lets players do things the rulebook forbids.

State, actions, resolution

Every turn-based board game fits the same model. Writing it down this way is the most valuable hour you will spend.

  • State: everything needed to recreate the table. Board spaces and what is on them, each player's resources and hand, the deck order, whose turn it is, which phase of the turn, the round number, the score.
  • Actions: what a player can do, as small named objects. Place worker on the forest. Draw a card. Trade 2 wood for 1 brick. End turn.
  • Validation: given the state, is this action legal for this player now? Is it their turn, is it the right phase, can they afford it, is the space free?
  • Resolution: apply a legal action to the state to produce the new state, including side effects (a card triggers, the round ends, someone wins).

Keeping the rules as pure functions over a state object has big benefits. The server can run them to stop cheating. The game can show only legal moves (highlight valid spaces, grey out unaffordable cards). Tests can replay a sequence of actions and confirm the outcome. And a full game is just a starting state plus a list of actions, which makes saving, replays and undo nearly free. Saving game progress covers storing that state safely.

Digitizing the rulebook: find the hidden rules

Rulebooks are written for humans who fill in gaps with common sense and table talk. Code has no common sense. Before building, go through the rulebook and answer these for every rule:

  1. 01Order of effects: when two things trigger at once, which resolves first?
  2. 02Empty supplies: what happens when the deck or a resource pile runs out?
  3. 03Ties: at the end of the game and for any majority scoring.
  4. 04Optional actions: can a player decline? Does declining end their turn?
  5. 05Out-of-turn actions: can other players respond, block or trade during your turn?
  6. 06Information: what is public, what is private to one player, what is secret from everyone (the deck order)?

The answers become a short "rules clarifications" list in your brief. This is also where the game design decisions hide: a rule that was ambiguous at the table becomes a firm choice online. Play the physical game once while writing down every time someone asks "wait, can I do that?". Each question is a rule you need to specify.

Turns, phases and simultaneous play

Turn structure varies more than people expect. Name yours precisely:

  • Simple alternating turns: one player acts, then the next. Chess, checkers, most family games.
  • Turns with phases: roll, then trade, then build. The engine tracks the phase and only allows that phase's actions.
  • Simultaneous selection: everyone picks a card face down, then all reveal. The server collects choices and reveals when all are in. This is much better online than at a table, because nobody can peek.
  • Interrupts: some games let other players respond (a block, a counter-card). These need a short window where the active player waits.

Tip

Automate the bookkeeping that slows tables down: counting points, refilling markets, moving the round marker. Online, the fiddly parts disappear and the decisions remain.

Live play or async play

Decide early whether players sit down together for one session or play over days.

  • Live: everyone in a room at once, moves appear instantly, a game takes 20 to 60 minutes. Needs a room, a turn timer (or not) and handling for disconnects.
  • Async: each player takes their turn whenever they like. A game can last a week. This is how many people actually play board games online with friends who are busy. It needs accounts so players can find their games, a saved state per game in a database, a list of "games where it is your turn" and a notification (often email) when it becomes your turn.

Async is a database problem more than a realtime problem, which makes it a good fit for Startbase Cloud: sign-in, a games table with state and a move log, and emails for "your move" notifications. Live play can use the backend's realtime channels for turns and presence, or a room server. Database basics for non-developers explains tables and rows if async play is your first backend.

Keep hidden information hidden

In a physical game, your hand is hidden because you hold the cards. Online, anything sent to a player's browser can be read by that player with the browser's developer tools. So the full state lives on the server, and each player receives a filtered view: their own hand, the public board, the number of cards in other hands but not which ones, and never the deck order. Shuffling happens on the server too. This matters even among friends, because a game where one curious person can see everything is not the same game.

A board game brief to paste

An online version of my board game Harbor Lights, for 2 to 4 players. State: a 5x5 grid of harbor tiles, each player has coins, 3 boats and a hand of up to 5 cargo cards; a face-down cargo deck and a face-up market of 4 cards; turn order and the current phase. Each turn has three phases: Sail (move one boat up to 2 tiles orthogonally), Trade (sell cargo cards matching the port your boat is on, or buy one market card), Refill (market refills from the deck). Clarifications: if the deck runs out, shuffle the discard; ties go to the player with more boats in port; a player can skip Trade. Game ends when a player reaches 30 coins; finish the round so everyone has equal turns. Rules as pure functions: validate action, apply action. Only highlight legal moves. Server holds the deck and hands; each player only receives their own hand. Async play: sign in, a My games list, game state and move log in the database, an email when it is your turn. Also a live mode with a room link.

Use Plan mode for the first pass so you can read how the agent intends to structure the state and the phases before any code is written. Correcting the plan is far cheaper than correcting a built rules engine. Then test by playing full games with two browser windows, and keep a list of moves that should have been illegal.

A note on whose game it is

Digitizing your own design, a game you have permission to adapt, or a traditional public-domain game (checkers, backgammon, mancala, go) is straightforward. Publishing an online copy of a commercial board game, with its name and artwork, is a different matter: those belong to the publisher. If you love a commercial game, build it privately for your own group or contact the publisher. For your own design, an online prototype is a great way to playtest with people in other cities before printing anything. The playtesting guide covers what to watch for in those sessions.

Pitfalls when moving to the screen

  • Board first, rules later. A pretty board with loose rules lets players do impossible things.
  • Too much on screen. A physical table is large. On a phone, show the board, your hand and one panel at a time.
  • No log. Players need to see what others did while they were away, especially in async games.
  • No undo inside a turn. Allow undo until the player ends their turn or reveals new information.
  • Stalled async games. Add a turn deadline (for example 48 hours) after which a player is skipped or the game ends.

For a classic abstract game with custom pieces, see how to make a chess variant. For live party-style play, see the multiplayer guide.

Frequently asked questions

How do you make a board game playable online?

Model the table as state, define each legal action, write functions that validate and apply actions, then build a board that shows the state and only offers legal moves. Add rooms for live play or saved games for async play.

What is asynchronous play in board games?

Players take turns whenever they are free rather than all at once. The game is saved between turns and the next player gets a notification. A game can last days.

How do online board games hide cards?

The server holds the full game state and sends each player only what they are allowed to see. Deck order and other players' hands are never sent to the browser.

Can I put a commercial board game online?

The name and artwork belong to the publisher, so a public copy needs permission. Your own designs and traditional public-domain games are safe starting points.

On this page

  • State, actions, resolution
  • Digitizing the rulebook: find the hidden rules
  • Turns, phases and simultaneous play
  • Live play or async play
  • Keep hidden information hidden
  • A board game brief to paste
  • A note on whose game it is
  • Pitfalls when moving to the screen

Keep reading

More in Games
Editorial ink illustration of a wooden toy figure jumping between two stone ledges, the coin above the gap in ember orange
GamesNovember 22, 2026

How to Make a Platformer Game with AI

A platformer lives or dies on its jump. Here are the numbers behind a jump that feels fair, how to build levels around it, and how to get an AI agent to build both.

7 min read
Editorial ink illustration of a tin wind-up runner on track pieces laid down ahead of it, the next track piece in ember orange
GamesNovember 22, 2026

How to Make an Endless Runner Game

An endless runner is a level generator with a character on top. Get the chunks, the speed curve and the controls right and the rest is art.

6 min read

Read less. Ship more.

Everything in this post is one prompt away. Describe your app and watch it build.

Start building

Apps, games, backends and publishing from one conversation.

Product

  • Features
  • Use cases
  • Pricing
  • Changelog

Resources

  • Blog
  • Docs
  • Support
  • Status
  • Security

Contact

  • w@startbase.ai
  • X / Twitter
  • LinkedIn
  • Instagram

Legal

  • Terms
  • Privacy

© 2026 Startbase. All rights reserved.