repl.it
@kironroy/

adventuregame

C#

No description

fork
loading
Files
  • main.cs
  • EndGameScene.cs
  • Game.cs
  • Item.cs
  • main.exe
  • OpeningGameScene.cs
main.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
using System;
using System.Globalization;

// http://programmingisfun.com/learn/c-sharp-adventure-game/
// 1. class Program
// 2. class Console -> WriteLine is a method of console class 
// This work is a derivative of
// "C# Adventure Game" by http://programmingisfun.com, used under CC BY.
// https://creativecommons.org/licenses/by/4.0/

namespace AdventureGame
{
    class Program
    {
        static void Main()
        {

            OpeningGameScene.ArtTitle();

            Game.StartGame();  // class Game . operator  using Start Game method

            Game.EndGame();

            var items = new Item();

            EndingGameScene.EndTitle();

        }
    }
}