<< Back to Programming Forum   Search

Posts 1 - 13 of 13   
AI improvement: 2025-08-26 17:55:11

JM
Level 21
Report
Hi can anyone help -

1. AI repository is 404 not found - https://github.com/FizzerWL/WarLight.AI

2. Norman's fork is available - https://github.com/Norman1/WarLight.AI
How do you modify and move it into production?

3. Can someone help make these 2 changes to the Wunderwaffe AI:
a. Stop the attacks with 1 army
b. Treat neutrals as any other opponent and attack them freely

These two changes could make the Wunderwaffe AI much more effective I think. Unfortunately I don't know how to program these changes and put them into production.
AI improvement: 2025-08-27 10:33:10


Norman 
Level 59
Report
It seems Fizzer transfered the WarLight AI repository to this guy: https://github.com/Ihsara/WarLight.AI/commits/master/

I'm not sure how this makes sense and who this guy is.

But anyhow, what you are aiming for there is not something you can achieve. You could make changes locally to Wunderwaffe and have it run but obviously you can't just freely change the version which runs on the WarLight servers.


I believe the correct way is to use the Mod system. You can probably get help on the Warzone bot makers Discord: https://discord.gg/BBa7KGRG
So perhaps you could make an AI mod which actually would be pretty cool. I talked with krinid already a while ago and it works something like that that the user makes random nonsensical moves commits and then the AI just overrides the orders with the actual orders. If you or someone else manages to make an AI mod then the grandmaster himself might join back in the bot development and show you guys who is the boss. We could then create a bot tournament.

Edited 8/27/2025 10:37:28
AI improvement: 2025-08-27 14:05:50


TBest 
Level 60
Report
If you make a mod AI - the AI could also cheat ( which might be nice ). All the bits and bobs are there in the mod framework - but you would be figthing a strict timeout cap and need to put it all togheter.

The motivational killer is that the current AI does work well across all templates and maps.
AI improvement: 2025-08-27 17:47:35

JM
Level 21
Report
The motivational killer is that the current AI does work well across all templates and maps.

I'm more interested in classic Risk - "small world" map, reinforcement cards, no fog, no other cards or mods.
With that I can beat Wunderwaffe just about every time, let alone the Prod AIs which are even easier to beat.

I see that Wunderwaffe fails on attacks simply because it makes other attacks with 1 army before it makes it's main attack.

Also it simply doesn't attack neutrals except when there is no opponent to attack, or as a last resort, and that too rarely. This unnecessarily bottles it only into paths through opponents even when there is no chance of a successful attack and there are paths through neutrals available. Neutrals are to be attacked anyway otherwise you can't get bonuses etc. so there's really no need to treat them any different than opponents.

These 2 changes could make it much more effective.
AI improvement: 2025-08-27 17:52:45

JM
Level 21
Report
But anyhow, what you are aiming for there is not something you can achieve.

That's too bad because these seem like 2 small changes - drop the attacks with 1 army, and go ahead and attack neutrals.

Thanks for the mod suggestion but it seems too convoluted to do.

Maybe Fizzer can make a version of Wunderwaffe with these 2 changes. It would be great to see how it performs after that.
AI improvement: 2025-08-27 18:32:22


Norman 
Level 59
Report
What is your issue with the attacks with 1? Do you have a game?
AI improvement: 2025-08-27 18:32:56


Norman 
Level 59
Report
Generally I would play Wunderwaffe better on Strat 1v1 no fog to let it shine.
AI improvement: 2025-08-28 00:17:52

JM
Level 21
Report
Sorry I don't know this - how do you play Strat 1v1?
AI improvement: 2025-08-28 00:24:41

JM
Level 21
Report
What is your issue with the attacks with 1? Do you have a game?

It seems to predictably make those 1 attacks first, before making it's main attack. So you have time to move away from it's main attack, or move armies in to defend, and so on. The 1 attacks rarely do any good for it I find. At any rate, dropping the 1 attacks is the smaller improvement. The main thing is it should consider neutrals the same as any opponent and those territories equally an option when deciding attacks.
AI improvement: 2025-08-28 10:04:01


Norman 
Level 59
Report
Sorry I don't know this - how do you play Strat 1v1?

That's the autogame template. Generally Wunderwaffe is better when there is a more of a brawl going on. But in SE you can probably just block it. Also turn off the fog to have a better experience.

It seems to predictably make those 1 attacks first, before making it's main attack.

No, that is not so predictable. It can also hit you immediately.

Edited 8/28/2025 10:04:48
AI improvement: 2025-08-28 10:16:47


Johnny Silverhand
Level 59
Report
> 1v1: 25 / 294 (8%)

Maybe we really do need better AI, if even this beats the AI consistently.....
AI improvement: 2025-08-28 18:32:15

JM
Level 21
Report
That's the autogame template.

I'm sorry I can't find any menu option saying autogame or strat 1v1. How do I get to it or set it up as you suggested with Wunderwaffe and no fog?

No, that is not so predictable. It can also hit you immediately.
Yes it does sometimes, but what's the point of the 1 attacks anyway?

Also why not attack neutrals freely?
AI improvement: 2025-08-28 18:34:13

JM
Level 21
Report
> 1v1: 25 / 294 (8%)

Maybe we really do need better AI, if even this beats the AI consistently.....


What does that score mean.. one AI won 25 out of 294 times? Which one won and which lost? Or is it the AI's score against someone, then again which AI?
Posts 1 - 13 of 13