Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save janellbaxter/ad6e540a1b36c2052707828bf452516b to your computer and use it in GitHub Desktop.
Save janellbaxter/ad6e540a1b36c2052707828bf452516b to your computer and use it in GitHub Desktop.
4.2 Instructions for Player; Programming is Fun: C# Adventure Game (Learn C#)
/*
* 4.2 Instructions for Player
* Example code from Programming is Fun: C# Adventure Game
* Learn C# (for beginners)
* http://programmingisfun.com/learn/c-sharp-adventure-game
*/
using System;
namespace Adventure
{
class Program
{
static void Main()
{
string CharacterName = "John Doe";
Console.WriteLine("Game Title");
Console.WriteLine("Welcome to ...");
Console.WriteLine("What would you like your character's name to be?");
Console.Read();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment