Code Ninjas Delivery

Code Ninjas would like to expand by having its own food delivery service. But code ninjas is going to use aerial delivery drones instead of trucks or cars! This aerial delivery service is a free running service that continues forever.

You are tasked with making a project where a neighborhood of three houses is serviced by a big, tall building called the Code Ninjas Delivery Manager. Right now, because we have just started our food delivery system, the Code Ninjas Delivery Manager will only deliver three foods (that you as the coder get to choose) to these three houses by using an aerial drone.

The Delivery Manager picks a house at random and a food at random. Next, the Delivery Manager will give out the order via a speech bubble.







Example: If House 2 orders pizza then the Code Ninjas Delivery Manager says: “House 2 gets food Pizza”.

If House 3 orders icecream then Code Ninjas Delivery Manager says: “House 3 gets food Ice cream”.

Once the order is given, the aerial drone then flies right above the correct house that made the order, and then drops the food from the sky right above the house. The food keeps dropping until the food touches the house and the food will disappear

Once the food disappears, the "delivery count" will be increased by 1 and then the aerial drone flies back to the Code Ninjas Delivery Manager.

Then the next order is made and the process repeats.

Tips and Reminders

1. There are three houses, three foods, one drone, and one Code Ninjas Delivery Manager

2. One of the houses is chosen at random and one of the food is chosen at random.

3. The game does not need you to make the orders. The orders happen automatically and never stop happening until you quit the game by pressing the stop sign.

4. The drone should also automatically go to the houses, drop the foods, return to the Delivery Center, and repeat until we press the stop sign.

You can do it! Good Luck Ninja!