Show HN: Tiao, A two-player turn-based board game

playtiao.com

57 points by trebeljahr 22 hours ago

Hi HN,

I built this digital version of Tiao, a two-player turn based strategy board game. Think Checkers meets Go. It's free, runs in the browser, has multiplayer, AI, over the board mode and a lot of other neat things. The source is on GitHub (AGPL).

The game was originally designed by my friend Andreas Edmeier. He created the rules and has been playtesting and refining the game design for years. I built the website for it. The core in about 2 weeks using TypeScript, Next.js, Express, Websockets, and MongoDB. Fully dockerized, deployed on a Hetzner VPS with Coolify. Authentication with better-auth. Real-time gameplay, ELO matchmaking, OpenPanel analytics, and a fully functional achievements system.

Play it: https://playtiao.com Source: https://github.com/trebeljahr/tiao

Happy to answer questions about the tech, the game design, or anything else.

My hope is that more people will play this game because I think it is genuinely fun and would be cool to one day see people play this on a Go board or on their phones/computers.

Have a good one.

yashwi_ 1 hour ago

Nice implementation. Out of curiosity, how are you handling multiplayer state sync?

For a board game like this I’d imagine sending move events and letting clients recompute the board locally rather than syncing the whole board every turn. Curious what approach you took.

rytill 20 hours ago

Hey! I played against a bot and it was pretty fun.

Small suggestion: too many queues can make it very difficult to build up a network of players at first. I'd suggest, for now, lowering the amount of available time control queues so that two players who happen to be on at the same time are more likely to actually find a game.

  • trebeljahr 14 hours ago

    That is such a good idea.

    I just looked at lichess and copied their time controls queue screen/options. But you're so right! I'm thinking which time control would be best for the beginning... 10 mins maybe?

simplify 15 hours ago

Cool concept! I play Go, and it's extremely unnerving that all the good shapes you play in Go are essentially the worst shapes you can play in Tiao :D

smlavine 3 hours ago

Finally won a game against the Easy bot on the 9x9 board after around 10 tries.

Seems like if you want to force a win, you have to think about how to put your opponent in "Zugzwang" (to borrow a Chess term).

tajd 13 hours ago

I loved this.

A shameless plug for myself and my own investigations into the world of old strategy games - https://tom-dickson.com/blog/trias-game-investigation/ - was where I did an investigation into the game called Trias/ternii lapilli which is like an old version of tic tac toe.

Rendello 18 hours ago

Cool! I've tried (and I guess failed) to build two of my favourite combinatorial games: the ancient "Konane" and the modern "Shōbu". At least the latter's project taught me property-based testing in Erlang.

https://en.wikipedia.org/wiki/K%C5%8Dnane

https://boardgamegeek.com/video/482389/shobu/how-to-play-sho...

  • trebeljahr 14 hours ago

    I've never heard of either before but they look like a lot of fun :)

    I like the video introduction on the board game geek site, maybe I should film something like this with my friend for Tiao and also put a page up there? :D

scythmic_waves 19 hours ago

It's fun! I play some chess but I am not a natural at this game. I think I need an AI easier than easy haha

smlavine 4 hours ago

Very fun game! Has this been released before? This is the only place I can find that mentions it.

ymaws 19 hours ago

I can't beat easy, incredibly addictive game :)

WillMorr 19 hours ago

Clever! I really appreciate how well done the tutorial is, it's just about the easiest game intro I've ever experienced.

  • trebeljahr 14 hours ago

    Thanks :)

    • trebeljahr 14 hours ago

      I put a lot of work trying to make it as smooth as possible. But there's still some rough edges I think, have to play test it more with friends, just the amount of different assumptions that people bring to a tutorial and trying to handle all of them without being overwhelming is such a tricky balance to get right haha

zem 12 hours ago

great game and very nice implementation!

homeonthemtn 19 hours ago

I appreciate the tutorial. I thought it was well done. I'd love to see something like that in some board games I've played.

gammalost 13 hours ago

Now I am interested in playing a board game that is not turn-based

  • oniony 11 hours ago

    Yeah, I play a lot of board games and was confused by the explicit statement that it was turned based, as most board games are turned based and realtime boardgames are pretty exceptional.

    Anyhow, off the top of my head:

    * Galaxy Trucker

    * Pendulum

    * Captain Sonar

    * Sidereal Confluence

    * Kitchen Rush

    • trebeljahr 11 hours ago

      Oh true haha :)

      I guess I just added this "turn based" phrase because it's online and for me felt somehow more descriptive of what it is, but you're absolutely right.

      And now I also wonder what would a non-turn based board game look like?

      I'll have to try one of those you recommended and find out :)

  • bdsa 9 hours ago

    Magic Maze

    Bananagrams

    probably others from my shelves

mock-possum 13 hours ago

Oh wow I am terrible at this

Nice implementation though, plays pretty well in n my little bitty mobile screen