Searching for the best strategy

Photo by Maarten van den Heuvel on Unsplash
Phases in a turn of Warhammer 40K
Agent located in an environment
; Boolean representation
State=[
5_men_unit,
3_bolters,
2_blight_launchers,
enemy_in_range
]
; Multivalued representation
State={
unit_size=5,
bolters=3,
blight_launchers=2,
enemy_distance=8
}
action shoot():
preconditions: enemy_in_range
add: enemy_wounded, 4_men_unit
delete: 5_men_unit
Dr. Strange using offline planning to solve a universal problem.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store