Majesty 3 -- with new game engine

  • Hearts of Iron IV Survey

    Help us make HoI IV better by sharing your experiences in this 5 minute survey

  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.

    Real Strategy Requires Cunning


...It's nice up here!
3 Badges
Jul 9, 2007
  • Crusader Kings II
  • Majesty 2
  • 500k Club
Small update on that AI project- I can compose simple plans now using brute-force simulation-sampling, which is a little messy, but if I get a chance I'll try to combine that with a proper search algorithm for action-plans. (I've largely been focusing on rewriting my citybuilder engine the past few weeks, so I might shift gears again now.)

EDIT: Proper search-algorithm now functioning, which seems to be drastically more efficient aside from being more reliable. (I still need to work out how to anticipate other agents or handle probabilistic effects, though...)

(in world
  (element hall        is_location)
  (element living_room is_location)
  (element kitchen     is_location)
  (element bedroom     is_location)
  (element toilet      is_location)
  (element gift        is_item    )
  (actor   jill        is_actor   )
  (actor   roger       is_actor   )
  ((borders hall    living_room) = true)
  ((borders hall    kitchen    ) = true)
  ((borders hall    bedroom    ) = true)
  ((borders bedroom toilet     ) = true)
  ((at gift ) = living_room)
  ((at jill ) = bedroom    )
  ((at roger) = kitchen    )
  (able roger travels )
  (able roger collects)
  (able roger gives   )
  (wants roger (has jill gift))

...and here's the final output:

Last edited: