Greatest Host
❔ Having issues placing a set of Console.WriteLine statements in the correct spot
First, I am a beginner, so I would REALLY appreciate explanations on criticism. That way, I can understand why my stuff doesnt work, instead of how to fix it!
I am making a "babysitting" simulator, and the purpose of this is to reinforce my knowledge as of now. I am not completely done with the fundamentals, I simply want to get this fully working as a personal milestone. Thus, the way I may be doing things might be super inefficient. I am definitely open to suggestions on how to make it less complicated or simply better!
Now, to the root of my current issue. In my foreach loop, every time we enter a new day, I wish to clear the console, print out the baby's "hunger" and "entertainment" values, and print out any events that have happened. I also wish to properly update the values after Events and User Input have been calculated, when entering a new day. My issue is that I do not know where to place the statement that prints out the "hunger" and "entertainment". Testing the code in its current state properly updates values, and I am able to win or lose the game. However, the only data being printed out is the random event, I am not being shown the hunger or entertainment.
Where should I place the "Console.WriteLine()" Statements in order to properly display the values of hunger and ent after calculations? (including keypress from the previous day)
If this is WAYY too much text, and I should make it shorter, please let me know!
PASTEBIN: https://pastebin.com/wEt8FvzV
60 replies