Giter Site home page Giter Site logo

Comments (4)

tuvus avatar tuvus commented on May 22, 2024

Hello! I plan on looking at the city construction AI after I rework the worker AI. Can you give some examples of some of the unique combinations that you are thinking about?

from unciv.

PLynx01 avatar PLynx01 commented on May 22, 2024

Hello! I plan on looking at the city construction AI after I rework the worker AI. Can you give some examples of some of the unique combinations that you are thinking about?

I am thinking about so-called abstract buildings. They are treated by game like buildings, but they don't represent physical buildings.

They can be:

  • Edicts and decisions (like those in Paradox games, they can have also negative effects)
  • Situations (like epidemics, civil unrest or immigration boom)
  • Other modifiers and parameters (like GDP per capita, public health, crime rate, level of education and pollution)

Many of these abstract buildings would have negative effects that need to be weighted by AI. It needs to decide whether the positive effects outweigh negative ones.

Also, buildings that are not abstract can have negative effects too. The example is the pollution generated by factories.

from unciv.

tuvus avatar tuvus commented on May 22, 2024

It's cool that you plan to use buildings as a sort of event. (Thoughts: Do we want to make a more detailed event json object that can be called? How much work would that take?)
Do you think the AI should also look for buildings to sell if they give money or some other effect?

from unciv.

PLynx01 avatar PLynx01 commented on May 22, 2024

It's cool that you plan to use buildings as a sort of event. (Thoughts: Do we want to make a more detailed event json object that can be called? How much work would that take?)

There are no random events in unmodded Civ 5, so maybe we should use the buildings as the representation of event.

Do you think the AI should also look for buildings to sell if they give money or some other effect?

In my opinion, it is worth implementing, especially if a building has more negative than positive effects. In order to do this, we need the function hasNegativeEffects() or something like that.

from unciv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.