<< Back to General Forum   Search

Posts 1 - 24 of 24   
Making a bot for "www.theaigames.com": 3/19/2014 18:25:58

Gauge
Level 56
Report
so i plan on coding a bot to play in the ai games (www.theaigames.com). The map is earth. when the games starts my bot has to choose 6 regions out of a random 12 regions. For my bet to choose its starting positions as best as possible i plan on making a list of regions from most preferred to least preferred. there are 42 regions in total. Could anyone who has got a minute help me put them in the best order?

1. Alaska
2. Northwest Territory
3. Greenland
4. Alberta
5. Ontario
6. Quebec
7. Western United States
8. Eastern United States
9. Central America
10. Venezuela
11. Peru
12 Brazil
13. Argentina
14. Iceland
15. Great Britain
16. Scandinavia
17. Ukraine
18. Western Europe
19. Northern Europe
20. Southern Europe
21. North Africa
22. Egypt
23. East Africa
24. Congo
25. South Africa
26. Madagascar
27. Ural
28. Siberia
29. Yakutsk
30. Kamchatka
31. Irkutsk
32. Kazakhstan
33. China
34. Mongolia
35. Japan
36. Middle East
37. India
38. Siam
39. Indonesia
40. New Guinea
41. Western Australia
42. Eastern Australia

(this is the name of every region and the number that represents it)

e.g. if you think that Siberia, Mongolia and China are the best places to start just write their numbers in order of most preferred to least: 28, 34, 33.

any thing you could write that would help me with why they are the best (strategy ect.) the more numbers you put in a good order, the more i will lover you :P
thanks

Edited 3/19/2014 18:29:45
Making a bot for "www.theaigames.com": 3/19/2014 18:37:38


Master Potato
Level 59
Report
ummm i disagree with your starting positions... many of your less un-preffered positions are in inefficient bonuses (territory to income ratio wise).
Making a bot for "www.theaigames.com": 3/19/2014 18:38:13


Master Potato
Level 59
Report
United States should be close to the least preferred...
Making a bot for "www.theaigames.com": 3/19/2014 18:41:06


Ⓖ. Ⓐrun 
Level 57
Report
Make sure your bot avoids wastelands.

And there are territories that are pretty similar. Aus/Ant or Scand/GL? Russia or Africa?
Making a bot for "www.theaigames.com": 3/19/2014 18:41:14


Richard Sharpe 
Level 59
Report
Potato, those aren't ordered yet. Read the actual message. They are just a numbered list of all the territories
Making a bot for "www.theaigames.com": 3/19/2014 18:46:38


Master Potato
Level 59
Report
Ah I see, missread that, apologies.
Making a bot for "www.theaigames.com": 3/19/2014 18:48:45

Hennns
Level 58
Report
Gauge, what's is best depends on the combinations of what's is available (which is random, I believe). Generally I'd say the smaller bonuses are the best to pick in. So you'd wanna pick they key territories in the small bonuses.
Making a bot for "www.theaigames.com": 3/19/2014 19:29:32


Bananashake 
Level 60
Report
how do you choose the territories you want? with coding

Mail me if you want to help :D
Making a bot for "www.theaigames.com": 3/19/2014 20:31:38

Gauge
Level 56
Report
i was thinking that if i listed all the regions from best to worst then when the server says to my bot "hey, pick from these 12 regions", my bot will pick the regions that are highest on the "best to worst" list.
Making a bot for "www.theaigames.com": 3/19/2014 20:34:35


125ch209 
Level 58
Report
this is what i did too
Making a bot for "www.theaigames.com": 3/19/2014 20:38:08

Gauge
Level 56
Report
@125ch209- have you made a bot?
Making a bot for "www.theaigames.com": 3/19/2014 20:39:27


Bananashake 
Level 60
Report
i see, but how do i code it? and where? (im bad at these codes)
Making a bot for "www.theaigames.com": 3/19/2014 20:47:45


125ch209 
Level 58
Report
from what i understood, pretty much all your coding is going to be in BotStarter, you dont need to touch the other classes (unless you want to create some more classes)
Making a bot for "www.theaigames.com": 3/19/2014 20:51:56


125ch209 
Level 58
Report
@125ch209- have you made a bot?

i just started to TRY and make one, i have been reading a lot about JAVA this past 24h, i didn't know anything about JAVA before, but i think i have enough knowledge now do do something. It isn't that complicated in theory, but i am at the 34th version of my bot now and i still don't have the picking strategy i want :D. I'm pretty close tho
Making a bot for "www.theaigames.com": 3/19/2014 21:41:13


Wenyun 
Level 59
Report
A decent order: Oceania, South America, all territories(regions) 1 away from Oceania/SA, Africa, territories(regions) 1 away from Africa, Europe, North America, Asia

Edited 3/19/2014 21:41:27
Making a bot for "www.theaigames.com": 3/19/2014 21:51:45

Gauge
Level 56
Report
@125ch209- i will be coding in C++ to create my bot. i know java too and they are reasonably similar languages.

Maybe we could work together or help each other out a bit? I have this tendency to come up with great ideas in theory but when it comes to coding them it would take like a week straight... would be cool to have someone to run ideas past ect.

Thanks to Bannashake i have a pretty good looking "best to worst" list :D
Making a bot for "www.theaigames.com": 3/19/2014 21:59:25


Ⓖ. Ⓐrun 
Level 57
Report
I'd be happy to work with someone if they want help (not for the money! Just for satisfaction). Feel free to mail me and I'll do what I can to lend a hand.
Making a bot for "www.theaigames.com": 3/19/2014 22:01:28


125ch209 
Level 58
Report
well maybe we can work something out in PM, but i don't know anything about C++, and 24h ago i didn't know anything about JAVA also, so i don't think i'll be of much help in coding.
Making a bot for "www.theaigames.com": 3/19/2014 22:05:08


125ch209 
Level 58
Report
@Arun: Are you familiar with JAVA?
Making a bot for "www.theaigames.com": 3/19/2014 22:10:04

Gauge
Level 56
Report
alrighty then but if you can create a bot (even using the template as a base) in 24hrs without prior knowledge of java then i have no doubt you can help.
Making a bot for "www.theaigames.com": 3/19/2014 22:16:13


125ch209 
Level 58
Report
i didn't made a bot, i wrote 10 lines lol
Making a bot for "www.theaigames.com": 3/20/2014 08:48:40


McTwist 
Level 55
Report
Would anyone help me a little bit? I am pretty new to Java, I just dont find out how to be able to decide where to put my armies. For example: If I start at region 12,13 and 41 I would like to place 5 armies at region 12.
Feel free to pm me!
Making a bot for "www.theaigames.com": 3/21/2014 16:01:00

Pauhoihoi
Level 57
Report
If you have knowledge of languages like Matlab & VBA I think that you will find writing in Python much easier (even if you've never seen it before). The style is very similar.

In terms of picking starting regions, the key is getting some bonuses quickly. From what I saw from other people's existing bot games, they were picking all over the map in all kinds of crazy locations. I was sorting the bonuses (super-regions) in order of terretories contained. The game engine always lets you pick from two terretories in each bonus (super-region), so pick 2 in each of the top 3 bonuses (super-regions with least terretories), and bob's-your-uncle, you should be able to get a bonus 1st or 2nd turn :) You just need to find which of the terretories you're given to pick from are in the bonuses you want...

What do you think?
Making a bot for "www.theaigames.com": 3/25/2014 21:02:10


Timinator • apex 
Level 64
Report
You should rethink your overall-strategie semicedevine
Posts 1 - 24 of 24