Skip to content

Instantly share code, notes, and snippets.

@janellbaxter
janellbaxter / PiF-Adventure-2.1-Output.cs
Last active February 19, 2017 21:11
2.1 Output to Console Window Programming is Fun: C# Adventure Game (Learn C#) Chapter Two
/*
* Example code from Programming is Fun: C# Adventure Game
* Learn C# for beginners
* http://programmingisfun.com/learn/c-sharp-adventure-game
*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@janellbaxter
janellbaxter / PiF-Adventure-3.1-Output.cs
Created February 19, 2017 21:26
3.1 Simplified Output to Console Window Programming is Fun: C# Adventure Game (Learn C#) Chapter Three
/*
* 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
{
@janellbaxter
janellbaxter / PiF-Adventure-4.1-String-Variable.cs
Last active February 19, 2017 21:42
4.1 String Variable; Programming is Fun: C# Adventure Game (Learn C#)
/*
* 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
{
@janellbaxter
janellbaxter / PiF-Adventure-4.2-Instructions-Player.cs
Created February 19, 2017 21:49
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
@janellbaxter
janellbaxter / PiF-Adventure-4.3-Storing-Input.cs
Created February 19, 2017 22:00
4.3 Storing Input; Programming is Fun: C# Adventure Game (Learn C#)
/*
* 4.3 Storing Input
* 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
@janellbaxter
janellbaxter / PiF-Adventure-4.4-Concatenation.cs
Created February 19, 2017 22:07
4.4 Concatenation; Programming is Fun: C# Adventure Game (Learn C#)
/*
* 4.4 Concatenation
* 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
@janellbaxter
janellbaxter / PiF-Adventure-5.1-New-Classes.cs
Created February 19, 2017 22:30
5.1 New Classes; Programming is Fun: C# Adventure Game (Learn C#)
/*
* 5.1 New Classes
* 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
@janellbaxter
janellbaxter / PiF-Adventure-6.1-Restructuring.cs
Created February 19, 2017 22:53
6.1 Restructuring; Programming is Fun: C# Adventure Game (Learn C#)
/*
* 6.1 Restructuring
* 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
@janellbaxter
janellbaxter / PiF-Adventure-6.2-Restructuring.cs
Created February 19, 2017 22:56
6.2 Restructuring; Programming is Fun: C# Adventure Game (Learn C#)
/*
* 6.2 Restructuring
* 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
@janellbaxter
janellbaxter / PiF-Adventure-6.3-Write-WriteLine.cs
Last active February 19, 2017 23:05
6.3 Write and WriteLine; Programming is Fun: C# Adventure Game (Learn C#)
/*
* 6.3 Write and WriteLine
* Example code from Programming is Fun: C# Adventure Game
* Learn C# (for beginners)
* http://programmingisfun.com/learn/c-sharp-adventure-game
*/
using System;
namespace Write_WriteLine