Skip to content

super-era/mad-libs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Mad Libs

Purpose

This C# project is part of Lesson 2 (CLG C# course), and aims to use variables, interpolated strings and other concepts to build a simple Mad Libs game.

How to run this project

This project was created using Visual Studio Code with the C# OmniSharp extension. Download the .zip file from github and extract to a suitable folder. Open Program.cs in Visual Studio Code. Use the commands

dotnet build

dotnet run

to initialise the project, and follow the prompts to play along.

Concepts this project uses

  • Console.WriteLine()
  • Console.ReadLine()
  • Trim()
  • ToLower()
  • ToUpper()
  • Substring()
  • interpolated strings
  • '\n' (linebreak for aesthetic purposes)

Change log

25/02/2021 - first draft uploaded to github.

  • .csproj file added

26/02/2021 - second draft uploaded to github

  • edited for brevity (e.g. chaining functions together in the one line)
  • capitalisation of first letters of user input for instructions using Substring()
  • this README.md file was created and added to the repository

About

Mad Libs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages