We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi guys I am really stuck on this question. My teacher has done nothing like this in class and its really confusing me. Any help would be appreciated! Thank You!
Create a Survivor class; a survivor will have a name, a location on the screen, an "infected" boolean, an "injured" boolean, and a number of bullets carried. Add more data if you think it is warranted. Create an array of survivors and draw them on the screen (ellipses with names as labels are sufficient); draw them color coded to indicate whether they are healthy, infected, or injured
You want to know how viable your population of survivors is. Write two functions that take the array of survivors as arguments: