![]() I'm working on a simple paper,rock,scissors game (c#),I made everything except the part where the user can type (for example) yes or no and play again or quit.How can I do this?Ĭonsole.WriteLine("Do you choose rock,paper or scissors") Ĭonsole.WriteLine("The computer chose rock") Ĭonsole.WriteLine("The computer chose paper") Ĭonsole.WriteLine("The computer chose scissors") Ĭonsole.WriteLine("You must choose rock,paper or scissors!") Ĭonsole.WriteLine("Sorry you lose,paper beat rock") Ĭonsole.WriteLine("Sorry you lose,scissors beat paper ") Ĭonsole.WriteLine("Sorry you lose,rock beats scissors") Ĭonsole.WriteLine("You win,rock beats scissors") Ĭonsole.WriteLine("You win,paper beats rock") Ĭonsole.WriteLine("You win,scissors beat paper") Ĭonsole.WriteLine("\nDo you choose rock,paper or scissors") ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |