Skip to content
Little GolemMake your next move.

I Built a Twixt Practice and Analysis Tool: Route 5

Public forum discussion.

Twixt

#1 · 56blackoak

13 Sep 2026

image

I’ve been building a Twixt practice/analysis tool in my spare time, and it’s finally getting close enough to share.

The main idea is to make it easy to play around with Twixt positions, review games, practice against a computer opponent, and hopefully make the game a little more approachable for newer players.

Route 5 has a normal Classic mode, as well as an optional 3D mode with a sci-fi theme, where the board is presented as an energy network on a planet.

With permission from the developer of TwixtBot, I have integrated its AI model into Route 5. It can be used for move evaluation, position evaluation, win-probability estimates, and hints while studying a position.

You can also play against the computer on 20×20, 18×18, and 16×16 compact boards, which makes AI games more practical in terms of thinking time.

Other features currently include:

importing game records from Little Golem and TwixTLive for replay and analysis
online two-player games through an invite link
an interactive beginner tutorial that explains the basic Twixt rules directly on the board
no installation required — it runs in a web browser

My intention is not to replace Little Golem, TwixTLive, or any existing Twixt community. I see Route 5 more as a complementary tool: somewhere to experiment with positions, review games, practice, and help new players get into Twixt.

It is still a beta, so there may be bugs or browser/device-specific issues. I’m developing it as a hobby in my spare time, so I may not be able to fix every issue or implement every suggestion immediately, but feedback, bug reports, and general impressions would be very welcome.

And finally, many thanks to everyone who has already helped me test and debug it during development.

Route 5:
https://route5.online/

I hope some of you find it useful — and I’d be very interested to hear what experienced Twixt players think of it.

Goro / 56blackoak

#2 · Carroll

13 Sep 2026

Very nice, thanks for the effort.
I tested it and for a beta it works really well, and the AI does not think for too long, the graphics are stunning !
I like also that the hint is,taking more time to give good advice. but Îd like a heat map, not just one move as I think that would give more hints at possible zones where to play for a beginner.

#3 · 56blackoak

13 Sep 2026

Hi Carroll,

Thanks for trying it out and for the great feedback! I’m glad to hear that it’s working well for you.

A heat map is a fantastic idea, especially since there are usually several strong candidate moves and the AI’s top recommendation isn't always the best fit. Currently, if you click a potential move on the grid, it displays the strength of that move before you confirm it with a second click.

I'll keep working on improvements!

#4 · Alan Hensel

14 Sep 2026

This is fantastic!

Is the AI server-side, or client-side (like lc0-js)?

One bug I noticed: the crucial diagonals are all for a 24x24 board, even on smaller boards. The diagonal lines should always lead to the corners (b2 and its reflections).

#5 · 56blackoak

14 Sep 2026

Thanks Alan! Glad you like it.

The AI is entirely client-side. The TwixtBot model runs in the browser with TensorFlow.js, and the search runs in a Web Worker, so there is no server-side inference. In that sense, yes, it is similar to lc0-js.

One caveat is that the neural network was trained for the standard 24x24 board, and I’m adapting it to the smaller compact boards rather than using a separately trained model. Because of that, its play can sometimes look a little odd near the edges on smaller boards.

And great catch on the crucial diagonals. You're absolutely right — they are currently based on the 24x24 board coordinates and aren't being recalculated correctly for the smaller boards. They should always line up with b2 and its reflections for the active board size.

I'll fix that. Thanks for spotting it!

#6 · Alan Hensel

16 Sep 2026

I just realized I can play against the AI on my phone! 16x16 is a pretty good size for that.

Is there a way to adjust the strength of the bot? I think it would be great for beginners if there was a bot that wouldn't crush them, and they could graduate to an intermediate bot when they're ready, and so on up to a master level bot.

#7 · David J Bush

16 Sep 2026

I guess if row handicaps were implemented, the bot would have to be trained for each handicap at each grid size and for both rule sets (standard and PP.) I use Firefox under Linux. Is anyone else with Linux able to use the site without crashing?

#8 · 56blackoak

16 Sep 2026

Thanks for the feedback! TwixtBot is still fairly strong even with MCTS set to 0, so I’m going to experiment with adjusting the policy sampling to let it choose slightly weaker moves from time to time. Hopefully that will make it possible to create more beginner-friendly difficulty levels without retraining the model.

David's crash seems to be caused by a specific graphic chipset with 3D rendering. I am working on a fix to automatically detect the compatibility and switch to classic mode.

#9 · 56blackoak

20 Sep 2026

enter image description here

I’ve just updated Route 5 with a few new AI features.

There are now four AI difficulty levels: Beginner, Intermediate, Advanced, and Master.

I also updated Hint under Game Menu > Analysis so it can show not only the best move, but also the second- and third-best candidates.

If you have a chance to play a few games, I’d really appreciate any feedback on the difficulty levels — especially whether the gaps between them feel about right.

Thanks, and have fun!

#10 · Flemming Jensen

22 Sep 2026

Thanks a lot. Realy usefull. In play with friend mode the "match details" popup sticks for the "invited". BTW, some kind of "comment" field may come in handy when you play with a skilled friend as a teacher.

#11 · 56blackoak

22 Sep 2026

Thanks for the feedback! I’ve added a close button to the pop-up. I’ll also look into how a comment feature could be integrated into friend matches.

#12 · Steven

12 Oct 2026

How long should one expect the AI on master mode to make a move?

#13 · 56blackoak

13 Oct 2026

Hi Steven,

Route 5 runs its AI entirely in your browser, so the thinking time depends on your computer's performance. On my MacBook Air, Master mode on a 20x20 board usually takes less than 5 seconds per move. On older computers or those with slower hardware, it could take 30 seconds or even longer.

#15 · Richard Malaschitz

18 Oct 2026

Thanks for creating Route 5 and supporting Little Golem imports!
I've added an “Open in Route 5” link to the game details in both Little Golem web interfaces (/web/ and /app/), alongside Twixt Commentator. It appears for 24×24 Twixt games and opens the selected game directly in Route 5 in a new tab.
The links are live now. Thanks for making this tool available to the Twixt community!

#16 · 56blackoak

18 Oct 2026

Hi Richard,
Thank you so much for adding the “Open in Route 5” links to both interfaces! I’m truly honored and delighted that Route 5 can support the Little Golem and Twixt community.

As a Little Golem user, I also really enjoy the new UI and sincerely appreciate your continued care, support, and updates.

#17 · David J Bush

22 Oct 2026

When I open an active game in Route 5, then click on the hint icon, a popup window admonishes me to do this only with my opponent's consent. I note the R5 bot can now play on the standard grid, and its play is significantly stronger than on the smaller grids. I have no reason to distrust any of my current opponents, but IMO this is insufficient. Players should not be able to use the engine so easily for any active game. Of course they could always download and install Jordan Lampe's bot, or use the Route 5 bot in a slightly less convenient way, but I regard this as ridiculous. Perhaps this would require more work from 56blackoak to enforce, and I apologize to both of you if you feel pressured. I have been playing here a long time and I would be sad to resign all my 24 games and withdraw from all 24 competition, particularly in the middle of my recent ratings slump. but I will if this is not fixed by January 1 2027. I would be willing to play using the real time unrated 5+5 option with anyone. Of course this is your server, Richard, and you have the right to do what you want, as do I. I am grateful for your tireless work, but I do not regard this as an improvement. So I it looks like I will use the R5 site to continue to learn how to play

#18 · 56blackoak

22 Oct 2026

Thank you for sharing your concerns. I understand your point, and I certainly don't want Route 5 to undermine fair play in the Twixt community.

Before enabling AI play on the standard 24×24 board, I reached out to David privately to ask for his thoughts. I waited about a week but didn't hear back. I also looked at the availability of other game engines and the fact that TwixtBot had already been discussed and used by members of this community.

Based on that, I decided to make the feature available with a fair-play warning, asking users to follow the rules of the platform where they play and to obtain their opponent's consent before using AI assistance in an ongoing game.

My intention has always been to provide a tool for learning, practicing, and improving our understanding of Twixt, not to help anyone win games unfairly. I personally believe that winning with AI assistance defeats much of the enjoyment of playing the game.

That said, I understand that making a strong engine easily accessible could raise concerns about fair play, even if most players use it responsibly. I take that concern seriously.

I would really appreciate hearing what other members of the community think about this, and whether there are practical ways to address these concerns while keeping Route 5 useful as a learning and analysis tool. I'm open to reconsidering how the 24×24 AI features are made available.

One thing I'd also like to clarify: when Richard kindly added the link to Route 5, AI play on the standard 24×24 board was not yet available. That feature was introduced in a later update, so I don't want Richard to be held responsible for that decision.

Thanks again for raising this issue. I value this community and hope we can find a reasonable balance between fair competition and the benefits of AI-assisted learning.

#19 · 56blackoak

22 Oct 2026

One possible approach would be to disable AI features for imported live games that are still in progress. Route 5 could check the game record to determine whether the game has finished, and only allow AI analysis once it is completed.

Of course, this wouldn't prevent someone from manually recreating a position move by move, but it would make AI assistance less convenient during an ongoing game. I'd be interested to hear whether the community feels this would be a reasonable compromise.

#20 · David J Bush

23 Oct 2026

Sorry for missing your email. I don't hold you or Richard to any sort of blame. I think your proposal sounds reasonable. I hope others express their opinions here with regards to what if anything should be changed. I wish to emphasize I am not trying to tell anyone what to do. I am simply stating my intentions.

#21 · 56blackoak

23 Oct 2026

Actually, I sent you a message through the chat in our ongoing game, not by email. Sorry if that made it easy to miss! I think the proposed solution could work well. Hopefully, others in the community will agree too!

#22 · 6174quest

23 Oct 2026

Thank you for building Route5.
I agree with David and would like to request a ban on AI usage for ongoing games.

#23 · 56blackoak

23 Oct 2026

Route 5 Update – Fair Play Improvements

Following the recent discussion about AI assistance in ongoing games, I've made a few changes to Route 5 to help protect fair play.

AI features, including analysis, hints, position evaluation, and AI Play, are now disabled for imported games that are still in progress. These features are available only when the imported game is confirmed as finished.

For the same reason, I've also temporarily disabled TSGF file import and text paste. These features may return in the future.

I'd also like to acknowledge that I introduced the 24×24 AI features without first reaching a broader consensus within the community. I apologize for the concerns this caused, and I appreciate everyone who took the time to share their thoughts.

My goal with Route 5 has always been to help people enjoy Twixt, improve their skills, and hopefully bring more players into the community. I believe AI can be a valuable tool for learning, and I also recognize the importance of keeping competitive play fair.

Thanks again for the constructive feedback. As always, I'd welcome any further thoughts or suggestions!

#25 · David J Bush

23 Oct 2026

Yes thanks for your quick response. I welcome AI as a learning tool, as long as the bot is used post mortem, after the game has ended.

#26 · Hairspring

24 Oct 2026

I have stated my cranky opinion on the use of AI in ongoing games in the past in threads regarding twixtbot and other AI assistance but I will add it here again. I am not interested in playing against people who are using AI assistance in ongoing games in any way. It absolutely kills the joy of the game for both players. What is the point of pitting one person's use of AI assistance against anothers? I have had experienced players admit that they have used bots to test their move in a pinch. The thing is, if you do that you are not depending on yourself to make the final decision on where to place a peg, you are ceeding that decision to a bot. I changed my name on LG to Hairspring a long time ago to remind myself to not spend too much time considering my moves. I wanted to just come up with a peg placement by being able to look at the board quickly and chuck down a peg. Just pull the trigger, as it were. Playing that way has lowered my average rating score substantially compared to when I would game out moves endlessly on my old accounts. The bot can game out moves "endlessly" in seconds, and even just taking a hint from a bot that can do that work for you seems like cheating and more importantly like a completely empty and souless way to play. I love playing Twixt against humans even when I lose (which is often) but hate the idea that I am playing against humans who can't quite show me and themselves the respect to play unaided by a machine that does nothing but play Twixt. It's like pulling the pitcher from the mound and putting in a pitching machine with a 200 mph fastball, that isn't a game anymore. (Sorry about the American sports analogy for you folks from the rest of the globe, it was just the most apt analogy I had.) Okay, there's my typical rant, I'm impressed that you read all the way to the bottom.