Group members: Marcius Bagwan, Ka Yee Leung
Source code: http://www2.hawaii.edu/~kyleung/kyleung-marcius.zip
Results:
kyleung-marcius vs split-up: 631:201 480:327 792:224
kyleung-marcius vs migrate: 880:0 774:7 823:0
kyleung-marcius vs gang-up: 70:521 596:340 713: 178
Strategy:
Castle – It would alternate between generating a knight and a peasant. When the number of knights runs low, it will generate knights continuously.
Knights – They are split into two groups. One group is specialized in attacking the knights while another is specialized in taking over castles. Once all castles has been taken over, both groups would attack knights together. If all enemy knights are gone, they would then aim at the peasants.
Peasants – They would only move to land that are unclaimed or claimed by the enemies unless no such land are available.
Lesson learned:
Eclipse: I get much more familiar with Eclipse after working on this project. I am more similar with the debugging and how to utilize the different functions provided. I can’t imagine switching back to emacs to type up my program again where I could end up getting twenty error messages just because of a missing semi-colon.
CodeRuler: This is the best programming assignment I have ever done. It was a lot of fun and was very effective in giving us a chance to practice with our java skill. It makes me realize how much Java can do and also, how much java I don’t know. CodeRuler is really a great and fun Java learning project.
Working with another person: I am so grateful to have such a great partner, Marcius for this project. He is patient and helped me a lot. From him, I learned how to cooperate with others so that the whole group can work together and learn together.
Wednesday, August 29, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment