Sunday, April 27, 2008

PF First Assigment

Part I
- UnifiedDomination
4.75 / 5 marks

UnifiedDomination has repeated code for reading the two players' names

Part II
- Task 1: total # of armies calculation
2.5 / 2.5 marks

- Task 2: accessor functions
2.5 / 2.5 marks

- Task 3: constructors
5 / 5 marks

- Task 4: Player.startTurn
2.5 / 2.5 marks

- Task 5: Player.placeArmy
3.25 / 3.75 marks

placeArmy() breaks encapsulation of the Territory class

- Task 6: Player.attack
3.75 / 3.75 marks



YOUR MARK

24.25/25

No comments: