I don't understand when people say "This AI is made in less than now 250 lines"
Wouldn't it be better to have TONS of lines?
I'm not a scripter nor programmer and know nothing in that category.. With that being said I would think the more lines the script has the more it can do..
Can someone help me understand this?
Armelon1
Posted on 07/12/15 @ 09:59 AM
Yes in general the more "rules" you have the more your AI could potentionaly do. The "lines" as mentioned here don't matter much at all, in this AI all the rules are written behind eachother. Guessing the AI would be made up of about 250 rules. This meaning the AI will be pretty basic and most likely have a 1 way strategy for all civs and settings. However just having the most rules wont automatic make your AI better or the best. as in my Daedric i often have things writen double, and my last updates have actualy made the files smaller.
However i don't think the autor of this AI wrote about the 250 lines to show off (unless there is some kind of competition im unaware off) but more to make clear its just a small fun AI.
Edit: I only just now saw his other AI of 500 lines. I'm guessing its some kind of challenge with himself :D which i guess is kinda cool, now i wonder is the 250 lines able to beat the 500 one though? Anyways i hope the autor is learning from this and one day deceides to make a AI that could be included into the AI ladder / tournements.
So to the autor you might wanne check out http://forums.aiscripters.com/ more scripters are active here. and also the AI tournements that sometimes happen often start off there.
[Edited on 07/12/15 @ 10:05 AM]
Rocky8299
Posted on 07/14/15 @ 11:43 PM
I fight different AI's about 20x a day and his Pico actually does beat out Nano in a lot if not all situations. So that's impressive. So you're the Daedric scripter.. Kudos my friend I went from your 1.5 to your latest and WOW what an impressive upgrade!! It can tangle with the best and your PIDM are awesome! Your AI is FANTASTIC! Keep up your great work Daedric because you have a fan!
Oh and Pico keep the upgrades coming. your AI is turning into a power house and I know it will only get better! Great job friend I had 100x battles so far with your AI's and I'm impressed. CHEERS TO ALL YOU BRILLIANT SCRIPTERS!!!!
[Edited on 07/14/15 @ 11:46 PM]
Karbunclo File Author
Posted on 08/11/15 @ 04:17 PM
Armelon1 well explained. I got the idea of creating an AI in 125 lines or less a bit stronger than picoPower. This AI (picoPower) is not far from other much stronger occasionally gaining some older versions of barbarian and others. When compared to most that they have come here, it is much stronger than others that are up to 100 times larger.
Rocky8299
Posted on 09/11/15 @ 05:38 PM
Why handicap yourself to so many lines? The more lines the stronger and more in depth and smarter it would be.. Am I wrong I don't script so.. Enlighten me :)
Promiskuitiv
Posted on 09/14/15 @ 08:20 AM
Rocky you're right, it's just a fun challenge for some people to do (i didn't do it myself yet though, i like optimizing and at some point a rule limit will stop me from doing that).