Homework Seven
Assigned 5/8/03, due 5/15/03
In this assignment you are going to continue working on strategy AI for Age of Kings.
The goal is to produce a new personality - Peacenik
The agent will rely almost entirely on the power
of religion. That is, the only mobile units that Peacenik can build are
villagers and monks. No watchtowers allowed either. The idea is
that this civilization will not sully itself with fighting. (The folks
doing the shooting when the town center defends itself are hired from other
less enlightened civilizations.) If monks convert a solider, who then
chooses to use the skills of his prior life in the service of Truth and Light,
then clearly it was meant to be.
Just as last time, you should start from a standard AI script, and build on it. The starter files can be downloaded here.
You will need to turn in:
-
Zip archive for your Peacenik AI. As usual, please
include your name in the file name for the zip archive, and archive the files
to a subdirectory based on your last name so that we can easily unpack them in
a common place. Please note all changes in the files via comments in the
files themselves.
-
TA's note: Important: make sure to zip up the folder
, and not just the files (e.g. r_zubek.zip should contain a folder
named r_zubek, which in turn should contain all the .per files and the
.ai file).
-
A Saved Game showing your AI being already built up, fighting (and hopefully winning) against the opponent.
It doesn't have to be anything complicated - we want to see how your AI behaves once it has built up its army and infrastructure.
-
A Microsoft Word document that describes your design for Fang.
You must explain all modifications you made and why, justifying them in terms
of your analysis of how the AI works and the mechanics of the game.
Some hints:
-
The class web site lists some resources for Age of Kings, but there are many
others available on the web.
-
It is fine to share your findings in understanding how the game AI works with
other students. In fact, we encourage you to discuss what you are
learning on the newsgroup. However, you are not to share code: All code
that is part of your AI that is not from the original AI must be written
individually.
-
We strongly recommend that you carefully read and analyze how the AI works
before starting into modifications. It is true that random tweaking
(i.e., evolution) can create intelligent beings, but you have a week, not a
million years. A few hours of analysis can save weeks of hacking.
-
For testing it is handy to have a scenario where you can just start it up and
watch closely what the AIs are doing, rather than playing yourself. We have
built a test scenario that you can use for this
purpose.
Last edited 5/9/03 by RZ.
Please send suggestions to cs370-staff@cs.nwu.edu.
Return to: Homework | CS370 home
page