Random event with two different event types derived

  • No School
  • AA 1
  • 5

This preview shows page 4 - 5 out of 5 pages.

2. Random Event - with two different event types derived that are uniquely yours 3. Participant 4. List of Characters 5. aybe a Battle? 6. And more! You need a total of at least 5 classes! 7. And Nodes will need to be classes instead of structs .... Anything that is similar between these or other classes that
Image of page 4

Subscribe to view the full document.

you write should be pushed up to be part of a base class. For example, classes that manage collections of items may be derived from a common base class that manages the collection. Keep classes small and functions small. A large class or function means that the problem has not yet been broken down into its basic components (objects) 1. The list of characters should be stored in a circular linked lists of arrays (using recursion to traverse for practice). All arrays must be dynamically allocated. Each array could be considered a group of characters that the participant commonly likes to battle with. Or, they could be organized by type. This list should be created from data obtained from an external data file about the specific characters that participants have. Also support the ability to add new characters, remove characters, remove all characters, and display characters for a participant interactively 2. The history of battles should be kept in an array of linear linked lists, where wins and losses are separated. Implementation of the data structures requires full support of insert, removal, display, retrieval, and remove-all
Image of page 5

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes