here's what to do:
Imagine that you are part of a team creating a role-playing game. As a Support Programmer, you
have been tasked by your Project Lead with creating the classes needed for player combat. For the
first prototype, you will have to be able to create an attack() function that will simulate combat
1. Using http://www.gliffy.com/, create a UML diagram of your proposed classes. Sign up first.
Save it as a PNG in Exam folder. Note: Having problems with the connection? You can always
use the scratch paper and pen provided to design the UML. Thanks!
2. Using either Netbeans (for Java) or Microsoft Visual C++ Express (for C++), create a program
that instantiates your UML classes.
Go To: Desktop -> [Name] -> Exam2_Java for JAVA Language using NetBeans or;
Go To: Desktop -> [Name] -> Exam2_C for C++ Language using Visual C++ Express.
3. Create the attack() function, and call it in your program. When called, the calling instantiated
class will try to attack a target class. If the attack hits, the target class is dealt damage. The result of
the attack should then be output on the debug console. There are still no final specifications yet for
what variables will determine combat damage or the chance to hit, so create your code to be flexible
enough to accommodate any possible additions or changes in the combat design.
4. Submit the UML PNG file, the binary executable and the source code of your program.