Creating a (hopefully) competitive bot using Claude Code.
-
Re: AI Development Discussion and Feedback
I am a regular player of Axis and Allies 1942 online, and just got a Claude subscription. My perhaps naive idea for a first project in Claude Code is to create a bot that can competently play the Larry Harris Gencon map that is used in AA1942 online.
So far I have been able to set up self play between my bot and the Hard AI in Triple A (my bot loses badly when paying both sides). I have also been able to set up self play between the Hard AI in order to create a database of games.
My current goal is to create a heuristic function that will look at the board state, position, income, units, turn number, ect. and attempt to predict the eventual winner. Initially I will use the games generated through automated self play as my data set, however I would ideally like to get my hands on some saved games from strong human players. I have found that the AI within triple a is not quite up to a human standard, and also that it plays the Axis considerably better than it plays as allies.
I am also interested in whether anyone has developed other ai's aside from the ones that ship with triple a (hard, easy, fast does nothing)
Anyway, if anyone has some saved games that may be useful, that would be great, also if anyone has interest in the project let me know.
-
Hi husky
Welcome to the site. You may want to check the A&A site https://www.axisandallies.org/forums/. They have specific threads for each game or most anyway.
Might find some saves there. Could also go to the lobby and ask the guys that play there if you could use some of their saves. I forget which one 42 online is but Revised gets played a lot in the lobby.
Good Luck
-
-
@beelee Thank you for your reply. I have also crossposted on AxisandAllies.org, as you've suggested, although I might not have posted in the right place for maximum visibility. The setup I'm workign it is the tournament setup for 1942 2nd edition, the one that starts the German bomber in Ukraine rather than Germany where it is in out of box. As Panther says, there are some rule discrepancies, like carriers not being able to hold allied fighters.
At the present level that bots play, those aren't so relevant. We are at the point where we are trying to get the program to not hang important units without good reason, and to not play either over aggressive or over passive.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login