Challenge project - Create a mini-game

Beginner
Developer
Higher Education Educator
K-12 Educator
Student
.NET
Visual Studio Code

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 arrays

  • Experience using switch statements, if-else statements, and for loops

  • Experience using the Random class to generate a random number.

  • Basic understanding of C# methods