Skip to content

WiseTechLTS/Robot-vs-Dinosaur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Robot-vs-Dinosaur

ROBOTS VS. DINOSAURS PROJECT

Robots vs. Dinosaurs User Stories

Out of 70 points Using the concepts of OOP by creating classes and using objects (instances of those classes) to interact with each other, create a console application that will have a robot and a dinosaur fight in a battle.

User stories: (5 points): As a developer, I want to make at least 7 commits with good, descriptive messages. (5 points): As a developer, I want to make a class for each of the following: Robot, Dinosaur, Weapon, Battlefield.

(10 points): As a developer, I want a Dinosaur to have a name, health, and attack power.

(10 points): As a developer, I want a Robot to have a name, health, and active_weapon.

(10 points): As a developer, I want a Weapon to have a name and attack_power.

(10 points): As a developer, I want a Dinosaur to have the ability to attack a Robot on a Battlefield. This attack method should lower a Robot’s health by the value of the Dinosaur’s attack_power.

(10 points): As a developer, I want a Robot to have the ability to attack a Dinosaur on a Battlefield. This attack method should lower the Dinosaur’s health by the attack_power of the Robot’s active_weapon.

(10 points): As a developer, I want the battle to conclude once either the robot or the dinosaur has its health points reduced to zero.

Bonus points:

(5 points): As a developer, I want to choose from a list of 3 possible weapons before a robot makes an attack.

(5 points): As a developer, I want to create Fleet and Herd classes, allowing for a list of 3 Robots to battle against a list of 3 Dinosaurs.

About

ROBOTS VS. DINOSAURS PROJECT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages