Challenge project - Create a mini-game
Demonstrate your ability to create and use different methods to develop features for a console mini-game.
Learning objectives
Use Visual Studio Code to develop a C# console application that uses methods to implement logical workflows.
Understand existing code and make informed changes to design.
Create return values as well as required and optional parameters in methods.
Prerequisites
Experience using Visual Studio Code to develop, build, and run C# console applications that include console I/O and access the methods of .NET classes.
Experience using C# data types including
int
,string
, and arraysExperience using
switch
statements, if-else statements, andfor
loopsExperience using the
Random
class to generate a random number.Basic understanding of C# methods