Boardgame.io: an engine for creating turn-based games using JavaScript

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Puter.js - The Backend for AI-Generated Apps
One-shot full-stack apps with your existing AI coding tool. Puter.js gives you Auth, Storage, DB, AI & more, with up to 90% fewer AI tokens than other backend platforms.
developer.puter.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. boardgame.io

    State Management and Multiplayer Networking for Turn-Based Games

  2. Puter.js

    Puter.js - The Backend for AI-Generated Apps. One-shot full-stack apps with your existing AI coding tool. Puter.js gives you Auth, Storage, DB, AI & more, with up to 90% fewer AI tokens than other backend platforms.

    Puter.js logo
  3. turn-based-game-engine

    I've seen this engine before and thought it was really cool!

    I've been playing around with writing my own turn-based game engine with TypeScript: https://github.com/snowbillr/turn-based-game-engine

    It's a WIP still, but what's really been the struggle for me is coming up with a data structure and traversal algorithm for the turn order. I wanted that to be extremely configurable by whoever uses the library.

    What I ended up with was essentially a tree that's traversed depth-first to enter each node, and then goes back up the same traversal path until a sibling node is found to dive into.

    That lets the user define rounds/turns/phases as children of each other in whatever shape they want.

    It's been a real fun project!

  4. Joust

    🍿 Hearthstone replays in your browser.

    https://hearthsim.info/hsreplay/

    Incidentally the UI we wrote for hearthstone replays is a react app. It’s funny because looking back it was the first time I used react and typescript, and both were not at all adopted by the js community yet at the time.

    https://github.com/hearthsim/joust

  5. barrage

    Discontinued [GET https://api.github.com/repos/sjrd/barrage: 404 - Not Found // See: https://docs.github.com/rest/repos/repos#get-a-repository] (by sjrd)

    The way I did this was to design a more-or-less monadic container `Result` for all my game logic functions. It batches a sequence of animation steps with a result. It can also model error conditions (like not having enough resources for example). I can then instantiate it any concrete result type, such as a full game state or just the result of individual computations. It was very nice to concisely write complicated game logic with animations while retaining the happy path.

    https://github.com/sjrd/barrage/blob/main/src/main/scala/be/...

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Show HN: Blank White Cards – Global Drawing Party Game

    2 projects | news.ycombinator.com | 24 Jul 2025
  • Show HN: Kurt Vonnegut's lost board game online

    2 projects | news.ycombinator.com | 13 Nov 2024
  • Show HN: Boardzilla, a framework for making web-based board games

    4 projects | news.ycombinator.com | 29 Jan 2024
  • Play Othello in your web browser (using Mithril)

    1 project | news.ycombinator.com | 13 Dec 2023
  • Making a board-game app

    1 project | /r/django | 25 May 2023

Did you know that TypeScript is
the 2nd most popular programming language
based on number of references?