Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading;
- namespace TammyFranklin
- {
- class Program
- {
- static void Main(string[] args)
- {
- //Intro to the app
- Console.Title = "Tamso";
- Console.BackgroundColor = ConsoleColor.DarkGreen;
- Console.ForegroundColor = ConsoleColor.Yellow;
- Console.WriteLine("Welcome to the Tamigotchi Clone! This is the first step:\n\nWhat's it's name, Neo?");
- Console.BackgroundColor = ConsoleColor.Black;
- Console.ReadKey(true);
- Console.WriteLine("\n\n\nYou are dead Neo. You have to Raise a Tamigotchi. Deal with it.");
- Pet tami = new Pet();
- //Console.WriteLine(tami.ToString());
- Pet bird = new Pet();
- //Wait for Key on exit
- Console.ReadKey();
- }
- }
- class Pet
- {
- //pet details
- private string name;
- public Pet()
- {
- Console.WriteLine("What is the pet's name?");
- this.name = Console.ReadLine();
- Console.WriteLine("This is the pets name {0} {1}", this.name, name);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement