Most recent update time
20 April 2026 23:19 UTC

Underworlds scriptorium fabula.

Bugfix

It is morning. 02:07(AM), November 13th 2025.

While I was playing a game today and I wrote down such description for that bug:

I encountered a bug in situation where there was 6 players in the game (5 bots and me). 3 players left in the game (me and 2 bots). I was player number 4, also there was player 3 with one influence left and player 6 with one influence left. So the flow was as such - I had 7 coins and I "COUPED" player number 1 killing his last influence. Then It was turn of player 6 and he claimed "TAX", I challenged his action (and it means that I interrupted decision made by player 3, because player 3 was the one who is next player after player 6), then IT SEEMS even though my challenge of "TAX" action of player 6 was successful still the last influence he lost turned out to be DUKE and then player 3(bot) froze. I assume player 3 froze because I interrupted his action, so I could take a look at the code why it happened, but also I have to take a look at the logs to see if somehow my challenge went successful even though player 6 had a duke while claiming "TAX". The log of that game is here if you are interested file. And the screenshot of the game state looks like this:

Screenshot of situation when bot froze.

And just now I was able to research and figure out this situation which took around 88 minutes. First of all the challenge that I performed was processed correctly, because the 6th player had dead DUKE before I challenged him, and he had to reveal the contessa. It became obvious from the logs. But the frozen bot issue has happened because of the buggy logic which was not properly filtering out the STEAL action form available actions because it considered dead players who had more then zero coins towards to the players that STEAL action could be performed against and I fixed that issue here and wrote unit test that covers this situation here.

My many thanks for your time and participation in this project.

The Emperor Protects.


Behold - the "Offer to fill game with bots" was introduced to the "Waiting room" page when you search for game with "Match finder".

As usually it is morning. 03:52(AM), November 12th 2025.

For long time (approximately since october 26th) I have been working on implementation of "Offer to fill game with bots" button and implementation of tests for that implementation. And now I consider it ready. On screenshot below you may see the "Waiting room" for 2 people with "Offer to fill game with bots" button.

Screenshot of 'waiting room' page with 'Offer to fill game with bots' button.

If you are the only player in the waiting room - clicking on that button will make game automatically begin, it will be you and other players in the game will be bots.

In case if you are not the only person in the waiting room then you may offer to fill game with bots by pressing on the button and button will reflect your vote and how many other players in this room with you also voted to fill game with bots. If The quantity of players voted is less then half of people in the room - then nothing will happen. But if more then half currently presented players in the room will vote to fill game with bots, then for players who voted the "READY" button will become active and after each voted player will click "READY" button - game will begin for all players in the room (even those who did not vote will be included into the game with bots).

For example if 3 players will join waiting room with capacity for 4 players and 2 our of those 3 players will vote to fill game with bots - then the page for one of voted players will look like on screenshot below:

Screenshot of 'waiting room' page when more then half players voted to fill game with bots.

If at this point player will click the "READY" button, then he will become ready and the message in information area of page will reflect information about the fact that more then half players voted to fill game with bots and some of them are already "READY" as you can see on screenshot below:

Screenshot of 'waiting room' page when more then half players voted to fill game with bots and one of players clicked 'READY' button.

Now if another voted player will click "READY" button then the game will begin!

It should simplify process of starting the game. Enjoy it!

My many thanks for your time and participation in this project.

The Emperor Protects.


My Greetings - introduced fixes for 2 bugs.

It is 23:29, October 26th 2025.

I was able to isolate and fix 2 bugs.
  • FIXED BUG: When player A claimed stealing from player B which has 1 coin, if player B challenged Stealing and lost challenge (player A actually had Captain on hand) then player B ended up with -1 coin and player A was given with 2 coins. Now player B ends up with 0 coins and player A is given 1 coin.
  • FIXED BUG: When there are 3 players in game if player A claimed assassination against player B and was challenged by player C while having Assassin on hand then player B under bot's control froze. Now bot reacts properly according to situation.

Keep working on implementation of logic and user interface to add bots to "Find match" game rooms. I think will be ready in about 2 weeks.

My many thanks for your time and participation in this project.

The Emperor Protects.


本文使用 Gemini API 翻译器从英语翻译成中文。原文可以在 这里 找到。

请注意 - 机器人已实现并集成,但目前仅集成到手动创建的游戏中。

通常是早上 04:56(上午),2025 年 10 月 4 日。

我错过了关于机器人实现并集成到“手动创建”游戏中的新闻。 虽然我在 Discord 服务器上通知了此事,但没有发布任何相关新闻。

机器人已实现。目前仅用于手动创建的游戏。 现在,当您访问 创建新游戏页面时 - 您 可能会看到现在有一个“添加机器人”按钮和一个显示添加机器人数量的计数器。 每次点击/轻触它都会为游戏添加一个机器人。不用担心添加太多机器人 - 总会有您的位置。 :)

创建新游戏页面的屏幕截图,演示了“添加机器人”按钮。

如果您遇到机器人冻结且不执行任何操作的情况,请告知我,并请在 URL 中包含 UUID 或发生此情况的游戏的完整 URL。

屏幕截图演示了浏览器 URL 中带有选定 UUID 部分的 URL。

我再次意识到,使用 PWA 的玩家无法看到该 URL,所以我必须考虑如何处理它。 :) 但希望我已经充分测试了机器人以修复所有错误。这些机器人远非智能,但它们为您和 您的朋友提供了互动,增加了游戏的乐趣。 :)

非常感谢您的时间和参与本项目。

皇帝保佑。


本文使用 Gemini API 翻译器从英语翻译成中文。原文可以在 这里 找到。

看哪——现在使用 PWA 的玩家可以通过邀请链接加入游戏。

像往常一样,现在是 2025 年 10 月 4 日星期五,凌晨 4:29。

在过去的 2 小时里,我一直在实现一个按钮,该按钮允许玩家在使用渐进式 Web 应用程序时通过链接加入游戏,而他的朋友发送了一个链接给他加入手动创建的游戏……

在此之前——从 PWA 加入此类游戏没有选项,因为加入手动创建游戏的唯一方法是将链接复制到浏览器的 URL 字段,而 PWA 根本没有这个功能。所以现在在 game-starter 页面上有一个按钮 “使用链接加入游戏(链接应在您的剪贴板中)”,在点击/轻触 该按钮之前,您需要将创建的游戏的链接复制到剪贴板。点击/轻触 按钮时,您可能需要按屏幕上出现的“粘贴”按钮——这是因为浏览器有保护机制,所以任何网页都不能随时访问您的剪贴板。所以从我的手机上看是这样的: 玩家点击“使用链接加入游戏(链接应在您的剪贴板中)”按钮后,游戏启动器页面的屏幕截图。

非常感谢您抽出宝贵时间参与本项目。

皇帝保佑。