If boats are few, they should be the ones choosing. If there are more boats than PPs, it makes sense that only PPs should look for boats. When boat-building code stabilizes, it can be seen how many free boats there are, on average, per PP. Value of ai.passenger in the ferry unit can be either of:įERRY_AVAILABLE : means that the unit is a ferry and is available This is exactly the operation thatĪmortize performs, the multiplication by some q 0 : id of it's ferry Their want frequently and easily overshadow want for other, useful, things.Ī m o r t i z e ( b e n e f i t, d e l a y ) - this is the sum of Attack units, quite notably, do not follow this at all. Technology and diplomats, in particular,Īctually, only defense units seem to follow this "standard". These are ideal numbers, your mileage while travelling through theĬode may vary considerably. > ? probably an error (1024 is a reasonable upper bound) 100 critical want, used to requisition emergency needs Wants whatever item is pointed to by choice->type. This has a variable called "want", which determines how much the AI to create an AI that can handle all the rules possibilities that Freeciv can offerīuild calculations are expressed through a structure called ai_choice.to create a challenging and fun AI for human players to defeat.The long-term goals for Freeciv AI development are Instead, send questions or go to the Community Portal to read the archives or to join up. Server/gotohand.c is a left-over from the previous path-finding systemĪI development doesn't have its own mailing list anymore. Stuff - the problem is, that most of it is used also for theĪuto-settlers, so we can't separate it from the server. Not all code is residing in ai/, but it is also dissolved in littleĬhunks in the whole server/. Original design and only then to throw it away. Here and there, trying hard not to break much, to understand Syela's Stupid?) enough to start from scratch, taking instead a small bite Subsequent AI developers were not brave (or Hisīright ideas could only be matched by his inability to name variablesĪnd to comment the code. The reason for this is that the developer (Syela) who in aįew months put together a working AI had suddenly disappeared. The code base used to be in a bad shape but it has gotten a lotīetter. It is, however, still too easy for experienced players. Military-wise as the AI of certain other games it is natural to compare The Freeciv AI is widely recognized as being as good as or better
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |