Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

REQ 4 : Static factory s staff benefits Requirement In the spaceship, the intern can access a Computer Terminal ( = ) that can print

REQ4: Static factorys staff benefits
Requirement
In the spaceship, the intern can access a Computer Terminal (=) that can print items from the factory to help them explore the abandoned moon. The intern needs to pay with credits to print the items. EDIT: The purchase fails if the interns balance is less than what the computer terminal asks for.
Note that all of the following items can be picked up and dropped off similar to the other items so far.
The items that can be printed from the computer terminal include:
An Energy Drink (*), which costs 10 credits each. If the intern drinks it, it heals them by 1 point. If the intern attempts to get this item from the computer terminal, there is a 20% chance that the computer terminal will ask the intern to pay double the original price. The purchase fails if the interns balance is less than what the computer terminal asks for. (EDIT NOTE: moved up, applied to all items)
A replica of the Dragon Slayer Sword (x), which is a massive sword once used by a legendary swordsman who went berserk. It costs 100 credits each. The intern can use this to attack hostile creatures, dealing 50 damage with 75% accuracy. Due to how powerful the weapon replica is, if the intern attempts to get this item from the computer terminal, there is a 50% chance that the computer terminal will throw an error, taking the interns credits without printing out the weapon.
A Toilet Paper Roll (s), which costs 5 credits each. Due to oversupply, if the intern attempts to get this item from the computer terminal, there is a 75% chance that the computer terminal will only ask the intern to pay 1 credit. The intern cannot do anything with a toilet paper roll.
You can assume that the factory has an unlimited supply of items that they can sell to the intern.
Testing Instruction
You can start the game with a massive amount of credits in your wallet. Since you have placed a Computer Terminal, walk and stand on or next to it. You should be able to see three actions to purchase each item (i.e., three actions). Make some purchases and test each random scenario of the item purchases (i.e., overcharged or undercharged).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions

Question

2. What are your challenges in the creative process?

Answered: 1 week ago