NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

if (ne == "yılan oyunu")
{
char[,] space = new char[15, 40];

ConsoleKey key;
int yemX = 0, yemY = 0;
bool yendiMi = true;
string yon = "sag";
int yilanX = 7, yilanY = 20, yilanBoyut = 1;

Console.WriteLine("-----------------------------------------------------------------------------");
Console.WriteLine("Çıkmak için herhangi bir tuşa basmanız yeterlidir. nnBaşlamak için 'ENTER'");
Console.ReadKey();
while (true)
{
if (Console.KeyAvailable)
{
key = Console.ReadKey().Key;
if (key == ConsoleKey.UpArrow)
{
yon = "yukari";
}
else if (key == ConsoleKey.DownArrow)
{
yon = "asagi";
}
else if (key == ConsoleKey.LeftArrow)
{
yon = "sol";
}
else if (key == ConsoleKey.RightArrow)
{
yon = "sag";
}
else
{
break;
}
}
if (yendiMi)
{
Random rnd = new Random();
yemX = rnd.Next(0, 15);
yemY = rnd.Next(0, 40);
yendiMi = false;
}

if (yilanX < 0 || yilanX > 15 || yilanY < 0 || yilanY > 40)
{
Console.WriteLine("Çarptınız...n");
break;
}

for (int i = 0; i < 15; i++)
{
for (int j = 0; j < 40; j++)
{
if (i == yemX && j == yemY)
{
space[i, j] = 'X';
}
else if (!(i == yilanX && j == yilanY))
{
if (space[i, j] == '1')
{
space[i, j] = ' ';
}
}
else
{
if (yon == "sag")
{
for (int k = 0; k < yilanBoyut; k++)
{
space[i, j - k] = '*';
}
}
else if (yon == "sol")
{
for (int k = 0; k < yilanBoyut; k++)
{
space[i, j + k] = '*';
}
}
else if (yon == "yukari")
{
for (int k = 0; k < yilanBoyut; k++)
{
space[i - k, j] = '*';
}
}
else
{
for (int k = 0; k < yilanBoyut; k++)
{
space[i + k, j] = '*';
}
}
}
}
}
for (int i = 0; i < 15; i++)
{
for (int j = 0; j < 40; j++)
{
Console.Write(space[i, j]);
space[i, j] = '1';
}
Console.WriteLine();
}
if (yemX == yilanX && yemY == yilanY)
{
yendiMi = true;
yilanBoyut++;
}
if (yon == "sag")
{
yilanY++;
}
else if (yon == "sol")
{
yilanY--;
}
else if (yon == "yukari")
{
yilanX--;
}
else
{
yilanX++;
}
System.Threading.Thread.Sleep(250);
Console.Clear();
}
Console.WriteLine("n///////////////////////////////nn{0} kere yemi yediniz...nn///////////////////////////////", yilanBoyut - 1);
}

if (ne == "instagram")
{
Console.WriteLine("-------------------------------------");
Console.WriteLine("kullanıcı adınızı girin :");
string kullanıcıadı = Console.ReadLine();
if (kullanıcıadı == "biyolord")
{
Console.WriteLine("......");
}
Console.WriteLine("şifrenizi girin");
int şifre = int.Parse(Console.ReadLine());
if (şifre == 123456789)
{
Console.WriteLine("giriş yaptınız");
}
}

if (ne == "facebook")
{
Console.WriteLine("-------------------------------------");
Console.WriteLine("kullanıcı adınızı girin :");
string kullanıcıadı1 = Console.ReadLine();
if (kullanıcıadı1 == "biyolord")
{
Console.WriteLine("......");
}
Console.WriteLine("şifrenizi girin");
int şifre1 = int.Parse(Console.ReadLine());
if (şifre1 == 123456789)
{
Console.WriteLine("giriş yaptınız");
}

}

if (ne == "instagram kayıt")
{
Console.WriteLine("e posta girin");
string eposta = Console.ReadLine();
{
if (eposta == "[email protected]")

Console.WriteLine("-----------------------------");

else
Console.WriteLine("hatalı e posta girdin");
}
Console.WriteLine("telefon nosu girin");
double telno = double.Parse(Console.ReadLine());
{
if (telno == 05362913105)
Console.WriteLine("telefona gelen smsyi girin");
Random rastgele = new Random();
int sayi = rastgele.Next(1000,10000);

Console.WriteLine(sayi);

Console.Write("smsyi girin :");
int sms = int.Parse(Console.ReadLine());
if (sms == sayi)
Console.WriteLine("kullanıcı adınızı belirleyiniz");
else
Console.WriteLine("hatalı kod girdiniz");
string kullanıcıadı3 = Console.ReadLine();
if (kullanıcıadı3 == "biyolord")
{
Console.WriteLine("......");
}

else
Console.WriteLine("tuhaf kullanıcı adı girdin");
}
}


if (ne == "facebook kayıt")
{


Console.WriteLine("e posta girin");
string eposta1 = Console.ReadLine();
{
if (eposta1 == "[email protected]")

Console.WriteLine("-----------------------------");

else
Console.WriteLine("hatalı e posta girdin");

}

Console.WriteLine("telefon nosu girin");
double telno1 = double.Parse(Console.ReadLine());
{
if (telno1 == 05362913105)
Console.WriteLine("telefona gelen smsyi girin");
Random rastgele = new Random();
int sayi1 = rastgele.Next(1000, 10000);

Console.WriteLine(sayi1);

Console.Write("smsyi girin :");
int sms1 = int.Parse(Console.ReadLine());
if (sms1 == sayi1)
Console.WriteLine("kullanıcı adınızı belirleyiniz");
else
Console.WriteLine("hatalı kod girdiniz");
string kullanıcıadı4 = Console.ReadLine();
if (kullanıcıadı4 == "biyolord")
{
Console.WriteLine("......");
}

else
Console.WriteLine("tuhaf kullanıcı adı girdin");
}
}

















Console.ReadKey();
}
}
}
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.