Toribash
Original Post
Project Belisarius: Teaching Toribash to Punch Itself Until It Gets Good
I started with a dumb question:

Can a Toribash bot learn ABD by fighting itself?

So far, the answer is:

Yes, but only after launching a small army of Toribash clients, building a training league, making a dashboard, and watching thousands of tiny martial artists fold themselves into questionable shapes.

Welcome to Project Belisarius.



Short Version

Belisarius is an offline/local Toribash AI project.

Current goal:

Train a bot for aikidobigdojo.tbm.

It trains by fighting:

- itself
- random behavior
- older versions of itself
- the current champion
- other strong saved versions

This is not an online bot.

No public room farming.
No matchmaking nonsense.
No terrorizing beginners while I sleep.

Just local Toribash science.

Current setup:

20 Toribash clients running in parallel.

Current best version:

Belisarius Primus.


How the training works, in simple words




The Belisarius Campaigns

I started naming the project phases because otherwise everything becomes:

"new run 4"
"fix 27"
"why is it fullscreen"
"please stop becoming furniture"

So here is the actual journey.


Campaign Zero: The Limp Uke Era




Campaign I: Basement Dojo




Campaign II: The 20-Client Circus




Campaign III: The War Room




Campaign IV: King of the Tatami




Campaign V: No More Random Bullshido




Campaign VI: ABD Bootcamp




Campaign VII: The Champion Pressure Era




Campaign VIII: The Tripod Monk Incident




Current Era: The Belisarius League




Current status




What the dashboard numbers mean




Technical explanation




Why Toribash is interesting for AI




Current limitations




What comes next




Final Note

Project Belisarius is offline/local only.

No online automation.
No public room botting.
No farming.
No matchmaking nonsense.

Just a local Toribash training project trying to answer a dumb but interesting question:

Can a bot learn Toribash by getting beaten up by itself enough times?

So far, the answer seems to be:

Yes, but first it must suffer.

I will post screenshots, videos, and replays as I get cleaner examples.

For now, Belisarius is awake, training, and still occasionally trying to solve ABD by becoming furniture.
Last edited by AlteredCode; Jun 9, 2026 at 02:23 AM.

Let it fight me. You'll have an aggressive bot eventually.
-----
Python is very fun to play with and is easier than any other script. It's a good thing you used it, so you didn't wrack the brain on Javascript. The other programs are annoying to code with all their needy symbols. Good stuff. I want to fight it when it becomes a god.
Last edited by D4NTE; Jun 8, 2026 at 08:13 PM. Reason: <24 hour edit/bump
Originally Posted by sirkill1 View Post
Verryyyy cool,

Any plans for other mods what else planned

It really depends on what comes out of this first, right now i'm not even sure it will ever be competitive or how much time it will take to train this one.


If it gets better in a matter of days/weeks it may be doable and some of the ABD skills could even transfer between mods (like balance/not DQing maybe).


But it's too early, it would be cool though 😁

>If Uke = God
>Then (D4NTE kicks his rear end so hard he coughs up laces)
>Else (This is not happening)
lmaooooooooo
-----
How long does it take your uke to play 1000 games?
Last edited by D4NTE; Jun 8, 2026 at 08:17 PM. Reason: <24 hour edit/bump
Originally Posted by D4NTE View Post
Let it fight me. You'll have an aggressive bot eventually.
-----
Python is very fun to play with and is easier than any other script. It's a good thing you used it, so you didn't wrack the brain on Javascript. The other programs are annoying to code with all their needy symbols. Good stuff. I want to fight it when it becomes a god.

You know that's actually an interesting approach and i spent time thinking if i should fight him or not or even train on previous ABD replays of good players.


The conclusion is we can't keep up.


Not in terms of skill, like now i'll shove his ass out of the ring any day any time.


The problem is we can't produce enaugh matches for him to learn something from it.


Right now he ran almost 2 million matches by itself. (in like 72 ish hours) Even if you let's say fight him 100/1000 even 10000 times it won't be enaugh for him to learn something. He plays like 150 steps (toribash turns) per second 😁👹


Of course your matches will be way higher quality but still not enaugh in terms of volume.

Could you explain the algorithm in detail? I've been interested in writing a Toribash AI, Toribash is not like most turn-based games and you can't use minimax/alpha-beta pruning.


I've thought about it and was thinking of training by doing self-play and a population-based Nash equilibrium bot.
Originally Posted by Fran View Post
Could you explain the algorithm in detail? I've been interested in writing a Toribash AI, Toribash is not like most turn-based games and you can't use minimax/alpha-beta pruning.


I've thought about it and was thinking of training by doing self-play and a population-based Nash equilibrium bot.

Hey Fran i remember you, market bot pioneer 😁👹

WARNING: Scary AI revised explanation inside

Last edited by AlteredCode; Jun 9, 2026 at 02:26 AM.

Hey brother. This is some cool shit. I remember speaking with Kris at length about his work on the decap AI bot. Are you retaining your data in a .csv or .xlxs format by chance with a specific delimiter?
Dargon Moderated Message:
Infracted for having the best goddamn replays in Toribash history.

In and of itself, I don't have a problem that this entire project is (in all likelihood) "vibe coded". I don't even have a problem with the simple fact that the original post seems to be entirely written by a LLM. But, when you made the decision to include 11 (?!) AI-generated banners, on top of the fact the post is already unnecessarily long -- and now you're doubling down by throwing the questions of actual users into the prompt and pasting the output here in your responses -- all this insults the intelligence of the reader.

And if that's what you're going to do, how about you publicize your repository and have your agent create a skill out of the project and chat history? It'll save time for everyone involved!
Last edited by Moonshake; Jun 8, 2026 at 09:48 PM. Reason: <24 hour edit/bump
<[Obey]Quest> yall needa tap into my telegram on gad
Chase Sapphire Reserve® Cardholder