Computers and Technology

Java coding The game will have 4 types of information you need to keep track of: the user, the Butterflies, the Bees and the Flowers. Here’s what you need to know for each (hint: some of these can be passed/given to the class constructor):
• Human User/Player
o Name - You’ll need to ask who is going to play the game
o Whether they want to be a butterfly or bee
• Butterflies
o Butterfly colony name - Every colony needs a name, right? So you’ll need to ask the user what the name of the butterfly colony is.
o Butterfly color - Butterflies come in many different colors. To make things simpler, your colony will start with butterflies that only have two colors, a main color and accent color. You’ll want to integrate the colors into the butterfly colony name. So you’ll need to ask the user about which colors they want.
o Colony starting size - How many butterflies is the colony starting out with? This can vary, so you better ask the user about that also.
o Carry capacity – Butterflies come in different sizes. So we need to know how much pollen each butterfly can carry, from 1 – 10 grams. Users won’t know this information, so we’ll need to generate it.
• Bees
o Bee colony name - Every colony needs a name, right? So you’ll need to ask the user what the name of the bee colony is
o Colony starting size - How many bees is the colony starting out with? This can vary, so you better ask the user about that also.
o Carry capacity – Bees come in different sizes. So we need to know how much pollen each bee can carry, from 3 – 7 grams. Users won’t know this information, so we’ll need to generate it.
• Flower
o Flower name/type – We’ll need to ask the user what types of flowers to use in the contest. (e. g., Rose, Lily, etc.)
o Color – Every flower has a color, so ask the user what color the flower should be
o Distance from colonies - Each flower is a different distance from the colonies, 1 – 5 miles.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 03:30, rebekah2503
Identify at least three types of characteristics that you were asked about as you the computer identify a fruit.
Answers: 3
image
Computers and Technology, 23.06.2019 09:30, shadowsnake
Write a function called checkfactor that takes two arrays of positive numbers, firstnumberrow and secondnumberrow. checkfactor checks if the first entry in firstnumberrow is divisible by the first entry in secondnumberrow, and performs the same operation on the next array elements until all entries have been checked. all the numbers are positive and the number of entries in the arrays are the same. the function should return the identified divisible numbers in two row arrays named firstdivisible and seconddivisible. restrictions: branches or loops should not be used. the code must use the internal mod and logical functions. hint: the mod function should be used to determine if two numbers are divisible. ex: for num1 and num2 if mod(num1,num2) is 0, then the two numbers are divisible. this is matlab
Answers: 2
image
Computers and Technology, 23.06.2019 20:30, lucywood2024
What is the biggest difference between section breaks and regular page breaks
Answers: 1
image
Computers and Technology, 24.06.2019 04:30, andrespacheco5888
Which of the following terms refers to a collection of different types of software that share the goal of infiltrating a computer and making it do something? a- malware b- virus c- spyware d- trojan horse
Answers: 2
Do you know the correct answer?
Java coding The game will have 4 types of information you need to keep track of: the user, the But...

Questions in other subjects:

Konu
Mathematics, 09.02.2021 20:30
Konu
Mathematics, 09.02.2021 20:30
Konu
Health, 09.02.2021 20:30
Konu
Mathematics, 09.02.2021 20:30