✅ Trying to figure out how to loop game Avalonia
GameEngineViewModel.cs => https://pastebin.com/36SjrpnfI have a button that I want to trigger showing the next question to the user. On the previous screen, they select how many questions they want to answer which is passed to the GameEngineViewModel through the
Game game => game.TotalQuestions parameter/variable. I'm trying to figure out how to loop the game for as many times as the game.TotalQuestions number is and have the next question shown based off of a button click. This button is only visible after the user has submitted their answer and the WinLoseText shows to the user. How would I go about doing this? ThanksPastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.