Search found 6 matches

by yieldthought
August 28th, 2014, 9:07 am
Forum: Coder’s Corner
Topic: Debugging and tuning AIs
Replies: 4
Views: 2952

Re: Debugging and tuning AIs

Hi iceiceice, No, I didn't try something simple like L2 vector distances, I would expect slightly better results using that, too. The nice thing about NCD is that you can run it on *anything* and get some kind of clustering out, so I had the right tools for it lying around as "let's quickly NCD...
by yieldthought
August 28th, 2014, 8:56 am
Forum: Coder’s Corner
Topic: Debugging and tuning AIs
Replies: 4
Views: 2952

Re: Debugging and tuning AIs

Hi mattsc, I had such fun playing the default AI as a beginner, gradually learning how to explot its weaknesses until I could finally triumph! I hope to build up a set of entirely different AIs with their own unique set of crippling flaws to complement it, rather than to create the master AI that pr...
by yieldthought
August 25th, 2014, 11:28 am
Forum: Coder’s Corner
Topic: Debugging and tuning AIs
Replies: 4
Views: 2952

Debugging and tuning AIs

I've had a lot of sucess clustering the debug logs of the runs and using this to track down bugs, unintended and suboptimal behaviour in a lua AI I'm writing at the moment: http://yieldthought.com/post/95722882055/machine-learning-teaches-me-how-to-write-better-ai If anyone is interesting in experim...
by yieldthought
July 20th, 2013, 12:46 pm
Forum: Coder’s Corner
Topic: Patch Submission Format
Replies: 11
Views: 13278

Re: Patch Submission Format

Are patches still preferred in this format, or should we be submitting pull requests via GitHub now?
by yieldthought
February 17th, 2013, 8:57 am
Forum: Coder’s Corner
Topic: Specify scenario options from command-line
Replies: 2
Views: 2544

Re: Specify scenario options from command-line

Thanks mattsc, that's exactly what I was looking for! If nobody minds I'll document some of those on a "testing AIs" wiki page soon. Also: I had wondered why initial gold was 0; thanks for taking the time to mention the bug and fixed version. Writing Wesnoth AIs was the beginning of my lov...
by yieldthought
February 15th, 2013, 10:09 pm
Forum: Coder’s Corner
Topic: Specify scenario options from command-line
Replies: 2
Views: 2544

Specify scenario options from command-line

After a long break I'm coming back to Wesnoth to try my hand at making some interesting AIs with the new API. One of the things I want to do time and time again is run a scenario from the command-line with e.g. fog of war and scrolling disabled. I've read the --help and the manpage and tried searchi...