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.Tasks;
- namespace GeforceNow
- {
- class Program
- {
- static void Main(string[] args)
- {
- Console.Title = "GeForce Now: BETA";
- Console.WriteLine("Username:");
- string myUsername = Console.ReadLine();
- string pass = "";
- Console.Write("Password:");
- ConsoleKeyInfo key;
- do
- {
- key = Console.ReadKey(true);
- // Backspace Should Not Work
- if (key.Key != ConsoleKey.Backspace)
- {
- pass += key.KeyChar;
- Console.Write("*");
- }
- else
- {
- Console.Write("\b");
- }
- }
- // Stops Receving Keys Once Enter is Pressed
- while (key.Key != ConsoleKey.Enter);
- Console.WriteLine(" ");
- Console.WriteLine("Hello, " + myUsername + " welcome to GeForce Now." );
- Console.WriteLine("Please type a game you want to play.");
- Console.WriteLine("Our current games are Fortnite: Battle Royale, Minecraft, and CS:GO");
- Console.ReadLine();
- bool fortnite = true;
- if (fortnite == true)
- {
- Console.WriteLine("Launching Fortnite: Battle Royale!");
- }
- Console.Read();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement