Wednesday, August 29, 2007

05.CodeRuler

  • Team Members: Michal Zielinski & Chiao-Fen Zielinski-Liu
  • Strategy:
    1. Our peasants will follow a specified direction based on how many rounds have been running. This will help us to generate more lands.
    2. We send our knights to capture any enemy peasants in any direction.
    3. Knights and peasants will be produced regularly as we get more lands.
  • Results:

Result 1Result 2Result 3
michalz-chiaofen vs. migrate ruler
524 - 135481 - 32441 - 73
michalz-chiaofen vs. gang up ruler
198 - 220512 - 302225 - 189
michalz-chiaofen vs. split up ruler
189 - 221147 - 178114 - 152

  • Lessons Learned:
  1. CodeRuler: I think it is an interesting and a challenging game because I am the person who decide to win or lose. If I code well, my knights can easily capture all enemies and my peasants can generate more lands. Then, more knights and peasants can be produced. I did not know coding can be so fun.
  2. JavaDoc: After I run JavaDoc over my code, I realize that couple HTML JavaDoc pages are generated. They give me an overview of some Java classes that are used in my code.
  3. HTML Table: I have learned how to write codes for creating HTML table to put the nine evaluation runs.
  4. After I downloaded and unzipped the CodeRuler file in C:/eclipse, I could not find the "Other" tab. Finally, I found out I had to unzipped the CodeRuler file on my desktop and moved two jar files into plugins directory. Then I could open the "Other" tab.
  5. It is nice to work with Michal, because he can think very fast. We first used the code that we found under IBM CodeRuler to play the game, then we inspired the code to have our own strategy. However, we still could not fight with split up ruler. It is always good to work with other members, because bugs can be easily seem and fixed.


No comments: