1. Homepage
  2. Programming
  3. Wildlife Island Project

Wildlife Island Project

Engage in a Conversation
WildlifeJavaC++

For this project, we will be creating the game Wildlife Island. Your main objective is to replicate the behaviors and features found in my version. CourseNana.COM

While building, think about how to use classes to organize your code. Consider how LINQ can simplify data processing. Think of the game not just as an end product, but as a canvas for implementing and understanding these core concepts. CourseNana.COM

Objective: CourseNana.COM

You are the manager of a newly formed wildlife island. Your task is to grow and maintain a diverse collection of animals while ensuring their well-being and managing your resources effectively. CourseNana.COM

Main Features: CourseNana.COM

  1. Resources & Finances: CourseNana.COM

    1. Manage an inventory of animal feed. CourseNana.COM

    2. Maintain a financial balance: Gain income (through showcasing) and spend money (buying feed). CourseNana.COM

  2. Begin Game Scenarios: CourseNana.COM

    1. When players start a new game, assign them a random assortment of CourseNana.COM

      animals that add up to 100 points. This way each game is unique based on CourseNana.COM

      the random assortment of animals. CourseNana.COM

    2. Animals are divided into 5 tiers. A tier 5 animal is worth 50 points. A tier CourseNana.COM

      4 animal is worth 40 points, etc. CourseNana.COM

    3. For example: CourseNana.COM

      1. 1 x Tier 5 animal (50 points) + 5 x Tier 1 animals (50 points) = 100 points CourseNana.COM

      2. 2 x Tier 4 animals (80 points) + 1 x Tier 2 animals (20 points) = 100 points CourseNana.COM

    4. Players should start off with $2000 and 200 lbs of feed. CourseNana.COM

  3. Time Cycle: CourseNana.COM

  1. Gameplay is to survive 10 days. CourseNana.COM

  2. Each day, animals will consume feed and generate income. CourseNana.COM

  3. Players can make decisions to buy feed daily. CourseNana.COM

4. End Game Scenarios:
1. The game concludes when feed runs out before 10 days. CourseNana.COM

5. Animal:
1. Based on the data below, each animal has the following attributes: CourseNana.COM

6. Feed: CourseNana.COM

Name
Cost
DailyFoodConsumption - How many lbs of food they eat every day
Daily income - How much money they generate every day Tier - Tier animal they are
CourseNana.COM

  1. Generate a
    trend so that it randomly increases or decreases somewhere between +$15 and -$15 relative to the previous price.
    CourseNana.COM

    1. Example:
    1. If current price is $75, the next price should be
    CourseNana.COM

    anywhere between $60 and $90.
    2. If current price is $50, the next price should be
    CourseNana.COM

    anywhere between $35 and $65. CourseNana.COM

  2. Ensures market price stays within set boundaries. CourseNana.COM

    1. Minimum price is $3 / lbs. CourseNana.COM

    2. Maximum price is $100 / lbs CourseNana.COM

  3. Imagine the feed price of Day 0 is $30. This means Day 1 (the start of the CourseNana.COM

    game), should be anywhere between $15 and $45. CourseNana.COM

  4. Display the max number of feed a player can buy based on the money CourseNana.COM

    they have in UI. CourseNana.COM

new price every day based on the previous one. Make it a CourseNana.COM

  1. Player can only purchase what they can afford. If feed is $10 / lb and the player has $15, they cannot purchase more than 1 lb of food. CourseNana.COM

  2. Ask for confirmation. CourseNana.COM

7. UI: CourseNana.COM

  1. Every user input should have a default option. The example below has the default option of "Go to Next Day" CourseNana.COM

  2. For example:
    1. Options:
    CourseNana.COM

    1. Buy Feed CourseNana.COM

    2. Go to Next Day
    Your action (Press Enter for Next Day):
    CourseNana.COM

Coding Requirements: CourseNana.COM

Use this code to populate your Animals CourseNana.COM

public static List AvailableAnimals = new List CourseNana.COM

{ CourseNana.COM

// Tier 1 CourseNana.COM

new Animal { Name = "Rabbit", Cost = 50, DailyFoodConsumption = 2, DailyIncome = 5, Tier = 1 }, CourseNana.COM

new Animal { Name = "Turtle", Cost = 70, DailyFoodConsumption = 1, DailyIncome = 4, Tier = 1 }, CourseNana.COM

new Animal { Name = "Chicken", Cost = 100, DailyFoodConsumption = 3, DailyIncome = 8, Tier = 1 }, CourseNana.COM

new Animal { Name = "Duck", Cost = 110, DailyFoodConsumption = 3, DailyIncome = 10, Tier = 1 }, CourseNana.COM

new Animal { Name = "Lemur", Cost = 120, DailyFoodConsumption = 4, DailyIncome = 12, Tier = 1 }, CourseNana.COM

new Animal { Name = "Monkey", Cost = 350, DailyFoodConsumption = 7, DailyIncome = 22, Tier = 1 }, CourseNana.COM

// Tier 2 CourseNana.COM

new Animal { Name = "Goat", Cost = 200, DailyFoodConsumption = 5, DailyIncome = 15, Tier = 2 }, CourseNana.COM

new Animal { Name = "Sheep", Cost = 250, DailyFoodConsumption = 6, DailyIncome = 20, Tier = 2 }, CourseNana.COM

new Animal { Name = "Pig", Cost = 300, DailyFoodConsumption = 8, DailyIncome = 25, Tier = 2 }, CourseNana.COM

new Animal { Name = "Donkey", Cost = 400, DailyFoodConsumption = 9, DailyIncome = 28, Tier = 2 }, CourseNana.COM

new Animal { Name = "Raccoon", Cost = 400, DailyFoodConsumption = 7, DailyIncome = 26, Tier = 2 }, CourseNana.COM

new Animal { Name = "Fox", Cost = 500, DailyFoodConsumption = 9, DailyIncome = 29, Tier = 2 }, CourseNana.COM

// Tier 3 CourseNana.COM

new Animal { Name = "Cow", Cost = 500, DailyFoodConsumption = 10, DailyIncome = 30, Tier = 3 }, CourseNana.COM

new Animal { Name = "Koala", Cost = 550, DailyFoodConsumption = 11, DailyIncome = 33, Tier = 3 }, CourseNana.COM

new Animal { Name = "Kangaroo", Cost = 550, DailyFoodConsumption = 11, DailyIncome = 38, Tier = 3 }, CourseNana.COM

new Animal { Name = "Horse", Cost = 600, DailyFoodConsumption = 12, DailyIncome = 35, Tier = 3 }, CourseNana.COM

new Animal { Name = "Deer", Cost = 600, DailyFoodConsumption = 12, DailyIncome = 38, Tier = 3 }, CourseNana.COM

new Animal { Name = "Buffalo", Cost = 700, DailyFoodConsumption = 14, DailyIncome = 40, Tier = 3 }, CourseNana.COM

// Tier 4 CourseNana.COM

new Animal { Name = "Zebra", Cost = 650, DailyFoodConsumption = 13, DailyIncome = 39, Tier = 4 }, CourseNana.COM

new Animal { Name = "Camel", Cost = 650, DailyFoodConsumption = 15, DailyIncome = 40, Tier = 4 }, CourseNana.COM

new Animal { Name = "Panda", Cost = 850, DailyFoodConsumption = 14, DailyIncome = 40, Tier = 4 }, CourseNana.COM

new Animal { Name = "Hippo", Cost = 850, DailyFoodConsumption = 18, DailyIncome = 44, Tier = 4 }, CourseNana.COM

new Animal { Name = "Giraffe", Cost = 800, DailyFoodConsumption = 17, DailyIncome = 42, Tier = 4 }, CourseNana.COM

new Animal { Name = "Bear", Cost = 950, DailyFoodConsumption = 16, DailyIncome = 43, Tier = 4 }, CourseNana.COM

// Tier 5 CourseNana.COM

new Animal { Name = "Wolf", Cost = 900, DailyFoodConsumption = 15, DailyIncome = 41, Tier = 5 }, CourseNana.COM

new Animal { Name = "Cheetah", Cost = 1000, DailyFoodConsumption = 15, DailyIncome = 45, Tier = 5 }, CourseNana.COM

new Animal { Name = "Elephant", Cost = 1000, DailyFoodConsumption = 20, DailyIncome = 50, Tier = 5 }, CourseNana.COM

new Animal { Name = "Rhino", Cost = 1100, DailyFoodConsumption = 19, DailyIncome = 46, Tier = 5 }, CourseNana.COM

new Animal { Name = "Lion", Cost = 1200, DailyFoodConsumption = 18, DailyIncome = 48, Tier = 5 }, CourseNana.COM

new Animal { Name = "Ostrich", Cost = 450, DailyFoodConsumption = 8, DailyIncome = 20, Tier = 5 } CourseNana.COM

}; CourseNana.COM

Grading Criteria CourseNana.COM

Wildlife Island CourseNana.COM

Criteria CourseNana.COM

Ratings CourseNana.COM

This criterion is linked to a Learning Outcome Does it compile? CourseNana.COM

5 pts CourseNana.COM

Full Mar ks CourseNana.COM

0 pts CourseNana.COM

No Mar ks CourseNana.COM

This criterion is linked to a Learning Outcome Animal CourseNana.COM

Do players get a random assortment of animals that add up to 100 points based on tiers? CourseNana.COM

Does the player's money increase and feed decrease every day? CourseNana.COM

50 pts pts CourseNana.COM

Ful No lM Ma ar rks ks CourseNana.COM

This criterion is linked to a Learning Outcome Feed CourseNana.COM

Does feed market price change every day?
Does it change +$15/-$15 in a trending manner?
Is there a maximum/minimum price?
Does it ask player for confirmation on purchasing feed?
CourseNana.COM

F uN ll o MM aa CourseNana.COM

CourseNana.COM

Does it list the maximum number of lbs of feed the player can purchase? CourseNana.COM

Does it validate a player can't purchase more feed than they have money? CourseNana.COM

This criterion is linked to a Learning Outcome Game Over
CourseNana.COM

If the player runs out of money or feed, does the game end? Does it tell the player relevant information in the UI?
After completing a game, can the player restart/exit the game?
CourseNana.COM

Get in Touch with Our Experts

WeChat WeChat
Whatsapp WhatsApp
Wildlife代写,Java代写,C++代写,Wildlife代编,Java代编,C++代编,Wildlife代考,Java代考,C++代考,Wildlifehelp,Javahelp,C++help,Wildlife作业代写,Java作业代写,C++作业代写,Wildlife编程代写,Java编程代写,C++编程代写,Wildlifeprogramming help,Javaprogramming help,C++programming help,Wildlifeassignment help,Javaassignment help,C++assignment help,Wildlifesolution,Javasolution,C++solution,