Skip to content

Releases: DylanT612/SEWeek5

Release 3

Choose a tag to compare

@DylanT612 DylanT612 released this 18 Aug 01:26
d738984

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

Choose a tag to compare

@DylanT612 DylanT612 released this 03 Aug 22:55
69c9420

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)

Release 1

Choose a tag to compare

@DylanT612 DylanT612 released this 03 Aug 03:38
69c9420

Prints survivor size list 1-20
Prints zombie size list 1-20
Prints how many survivors survived or if the lost to the zombie hoard