Repository navigation
Releases: DylanT612/SEWeek5
Release list
Release 3
Release 3 gives a weapon to each survivor and prints what the zombie was killed with.
The Battlefield class was relatively unchanged except for the print statement.
The Character class was unchanged.
The Civilian/Soldier/Scientist classes were to include the weapon and damage it brings.
The CommonInfected/Tank classes were unchanged.
The Main classes generateSurvivors method was changed to include each survivor with a random weapon, and generate random weapon methods were included.
The Survivor class was modified to contain a weapon, overridding the getAttack method and the toString to shorten the print command.
Weapon class was added having a name, damage, and accuracy level for the weapons.
Zombie class was left unchanged.
Now displays the following when a Survivor kills a zombie:
Soldier 25 with Shotgun killed Tank 10
Release 2
Release 2.0 implemented a type and id for each class
Prints what survivor list is composed of.
Prints what zombie list is composed of.
Simulates turn based game of one attack after another using print statements
Prints overall result.(Did zombies win or did some humans survive)