<< Back to Programming Forum   Search

Posts 31 - 42 of 42   <<Prev   1  2  3  
How should AIs use Blockade,Gift,Diplomacy,Bomb?: 3/14/2016 14:32:17

ManBruce
Level 19
Report
yes
How should AIs use Blockade,Gift,Diplomacy,Bomb?: 3/14/2016 16:15:51


Fleecemaster 
Level 59
Report
I second that yes
How should AIs use Blockade,Gift,Diplomacy,Bomb?: 3/14/2016 16:58:32


Lucarr10
Level 55
Report
^^^ make that a third
How should AIs use Blockade,Gift,Diplomacy,Bomb?: 3/15/2016 10:02:32


EssenSlug 
Level 58
Report
this is not about the cards but i think it would be amazing if you could make diplomacy AI's
How should AIs use Blockade,Gift,Diplomacy,Bomb?: 3/15/2016 10:42:30


Fleecemaster 
Level 59
Report
In regards to Diplos, I was thinking about this. If we can send a flag to the AI telling it "This is a Diplo" then all it would really need to do is play purely defensive and never attack anyone, I think that would be the best "cure-all" as really that's all Diplos need, an AI to protect whichever region the player was booted/surrendered from.
How should AIs use Blockade,Gift,Diplomacy,Bomb?: 3/15/2016 16:30:39


GeneralPE
Level 56
Report
@fleecy
Yeah, that would be great
How should AIs use Blockade,Gift,Diplomacy,Bomb?: 3/15/2016 17:10:20

Алексей
Level 62
Report
If we can send a flag to the AI telling it "This is a Diplo"

It is natural to set this flag in 'a personal message to associate with this game'.
But WarLight.AI.GameSettings are missing such an important feature as well as the luck settings.

Bots never know the game title or the personal message from the host. This misfeature does not allow to modify their behavior if the words 'This is a Diplo' are included in the personal message.

Bots never know is it a SR 0% luck settings or some kind of gambling settings. New bots may fail in a WR 16% luck template.
Test game https://www.warlight.net/MultiPlayer?GameID=10747964 . Bot attacks 3v2 failing to capture a bonus on turn 2 and again on turn 4 and it wastes an army in a 1v8 attack on turn 6.
How should AIs use Blockade,Gift,Diplomacy,Bomb?: 3/15/2016 17:21:04

M. Poireau 
Level 57
Report
(re: a hypothetical AI which never attacks)

That sounds awfully boring... and could lead to horrible situations where a game can't end.

Edited 3/15/2016 17:22:05
How should AIs use Blockade,Gift,Diplomacy,Bomb?: 3/15/2016 17:37:10


Norman 
Level 58
Report
Yeah, I'm missing also a couple of features however I haven't checked in all details if they are truly not there.

- Ability for the bot to surrender / vote to end.
- Ability for the bot to use the chat (not necesarily to read but at least to print something there)

As for the luck modifier a quick search in the C# code shows that the bot has this information.

Edit: If the bot could read the team chat then I could quite easily make my bot capable to listen to simple commands / hints like "Wunderwaffe, opponent XYZ owns bonus Antartica" or "Wunderwaffe, break Antartica". This would then just mean for my bot that he multiplies the value of the plan to break Antartica with a certain factor.

Edited 3/15/2016 17:45:38
How should AIs use Blockade,Gift,Diplomacy,Bomb?: 3/16/2016 03:50:24


Fleecemaster 
Level 59
Report
Poir, that sums up diplos very well ;)

Seriously though that's all a Diplo needs, the idea would be to just ignore that area, or take it if you want it, but it won't just spam attacks all over the place and ruin the game...

Norman, that would be nice, I was thinking about that too, but that may be tricky. Also in that regard an AI could learn and store info by writting it into chat... It might be more complicated than Fizzer wants, though I don't deny the benefits that would have :)
How should AIs use Blockade,Gift,Diplomacy,Bomb?: 3/18/2016 20:07:09

Rey
Level 34
Report
has anyone tried to implement game theory when programming AI?
How should AIs use Blockade,Gift,Diplomacy,Bomb?: 3/21/2016 22:29:38

Алексей
Level 62
Report
(re: a hypothetical AI which never attacks)

That sounds awfully boring... and could lead to horrible situations where a game can't end.

Human player should surrender in that kind of a situation.

- Ability for the bot to surrender / vote to end.

Current surrender / vote to end policy is just fine. The host sets AIs-surrender option in the template. AIs always vote to end after all human players have voted.

- Ability for the bot to use the chat (not necesarily to read but at least to print something there)

This would be very useful.

As for the luck modifier a quick search in the C# code shows that the bot has this information.

Tell me the file name. Or the word to grep.
$ grep -iro ......................luck..................... *
bin/Debug/PlayBots/1051620318.txt:" DistributionID="-1" LuckModifier="0.0" Offens
bin/Debug/PlayBots/907229986.txt:" DistributionID="-1" LuckModifier="0.0" Offens
bin/Debug/PlayBots/1264450934.txt:" DistributionID="-1" LuckModifier="0.0" Offens
Posts 31 - 42 of 42   <<Prev   1  2  3