NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

else if (islemasker.Key == ConsoleKey.NumPad3)
{
if (para >= 150)
{
para -= 150;
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("Bir okçu asker satın aldın!");
asker++;
okcu_a += 1;
System.Threading.Thread.Sleep(500);
goto asker;
}
else
{
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("Paran yetersiz!");
System.Threading.Thread.Sleep(500);
goto asker;
}
}
else if (islemasker.Key == ConsoleKey.NumPad4)
{
if (para >= 200)
{
para -= 200;
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("Bir güçlü asker satın aldın!");
asker++;
guclu_a += 1;
System.Threading.Thread.Sleep(500);
goto asker;
}
else
{
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("Paran yetersiz!");
System.Threading.Thread.Sleep(500);
goto asker;
}
}
else if (islemasker.Key == ConsoleKey.NumPad5)
{
if (para >= 250)
{
para -= 250;
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("Bir silahlı asker satın aldın!");
asker++;
silahli_a += 1;
System.Threading.Thread.Sleep(500);
goto asker;
}
else
{
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("Paran yetersiz!");
System.Threading.Thread.Sleep(500);
goto asker;
}
}
else if (islemasker.Key == ConsoleKey.NumPad6)
{
if (para >= 125)
{
para -= 125;
Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine("On adet yiyecek satın aldın!");
yemek += 10;
System.Threading.Thread.Sleep(500);
goto asker;
}
else
{
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("Paran yetersiz!");
System.Threading.Thread.Sleep(500);
goto asker;
}
}
else
{
goto asker;
}
Console.ReadKey();
}
else if (islemkey.Key == ConsoleKey.G)
{
Random gunrand = new Random();
int secenek = gunrand.Next(0, 101);
if (secenek < 11)
{
//SALDIRIYA UĞRADIN KISMI OYUN HAYDUTLAR
int ordugucu = koylu_a;
ordugucu = ordugucu + (basit_a * 4);
ordugucu = ordugucu + (okcu_a * 4);
ordugucu = ordugucu + (guclu_a * 8);
ordugucu = ordugucu + (silahli_a * 16);
//asıl kısım
Console.Clear();
int haydutsayi = gunrand.Next(9, 50);
secim_savasyadaode:
Console.Clear();
Console.ForegroundColor = ConsoleColor.DarkBlue;
Console.WriteLine(haydutsayi + " adet haydutlar tarafından saldırıya uğradın!");
Console.WriteLine();
Console.ForegroundColor = ConsoleColor.Black;
Console.WriteLine("1) Para öde : " + haydutsayi * 2);
Console.WriteLine("2) SAVAŞ! : Düşmanın " + haydutsayi + " hazır askerine karşı " + asker + " askerin bulunuyor.");
Console.WriteLine();
Console.WriteLine("Paran: {0}", para);
Console.WriteLine("Ordu gücün: {0}",ordugucu);
int dusmanordugucu = haydutsayi * 3;
Console.WriteLine("Düşmanın ordu gücü: {0}", dusmanordugucu);
ConsoleKeyInfo savasyadaode = Console.ReadKey();
if (savasyadaode.Key == ConsoleKey.NumPad1)
{
if (para >= haydutsayi * 2)
{
para -= haydutsayi * 2;
goto oyunekran;
}
else
{
goto secim_savasyadaode;
}
}
else if (savasyadaode.Key == ConsoleKey.NumPad2)
{
Random savasmarastgele = new Random();
Console.Clear();
if(ordugucu > dusmanordugucu)
{
int kimkazanacak = savasmarastgele.Next(0,100);
//kazandın
if(kimkazanacak > 10)
{
for (int i = 0; i < 20; i++)
{
Console.Clear();
if (i % 2 == 0)
{
Console.WriteLine("SAVAŞILIYOR!");
System.Threading.Thread.Sleep(500);
}
else
{
Console.WriteLine("SAVAŞILIYOR!!");
System.Threading.Thread.Sleep(500);
}
}
Console.Clear();
Console.ForegroundColor = ConsoleColor.DarkGreen;
Console.WriteLine("Kazandın! Kazancın şu: {0}",haydutsayi*2);
para = para + haydutsayi * 2;
System.Threading.Thread.Sleep(1500);
goto oyunekran;
}
//kaybettin
else
{
for (int i = 0; i < 20; i++)
{
Console.Clear();
if (i % 2 == 0)
{
Console.WriteLine("SAVAŞILIYOR!");
System.Threading.Thread.Sleep(500);
}
else
{
Console.WriteLine("SAVAŞILIYOR!!");
System.Threading.Thread.Sleep(500);
}
}
Console.Clear();
Console.ForegroundColor = ConsoleColor.DarkRed;
Console.WriteLine("Kaybettin! Kaybın şu: {0}", haydutsayi * 2);
if(para > haydutsayi*3)
{
para = para - haydutsayi * 3;
}
else
{
para = 0;
koylu_a = 0;
basit_a = 0;
okcu_a = 0;
guclu_a = 0;
silahli_a = 0;
asker = 0;
}
System.Threading.Thread.Sleep(1500);
goto oyunekran;
}
}
//EĞER ORDU GUCU DUSMAN GUCUNDEN BUYUK DEĞİLSE
else
{
int kimkazanacak = savasmarastgele.Next(0, 100);
//kaybettin
if (kimkazanacak > 10)
{
for (int i = 0; i < 20; i++)
{
Console.Clear();
if (i % 2 == 0)
{
Console.WriteLine("SAVAŞILIYOR!");
System.Threading.Thread.Sleep(500);
}
else
{
Console.WriteLine("SAVAŞILIYOR!!");
System.Threading.Thread.Sleep(500);
}
}
Console.Clear();
Console.ForegroundColor = ConsoleColor.DarkRed;
Console.WriteLine("Kaybettin! Kaybın şu: {0}", haydutsayi * 2);
if (para > haydutsayi * 3)
{
para = para - haydutsayi * 3;
}
else
{
para = 0;
koylu_a = 0;
basit_a = 0;
okcu_a = 0;
guclu_a = 0;
silahli_a = 0;
asker = 0;
}
System.Threading.Thread.Sleep(1500);
goto oyunekran;
}
//kazandın
else
{
for (int i = 0; i < 20; i++)
{
Console.Clear();
if (i % 2 == 0)
{
Console.WriteLine("SAVAŞILIYOR!");
System.Threading.Thread.Sleep(500);
}
else
{
Console.WriteLine("SAVAŞILIYOR!!");
System.Threading.Thread.Sleep(500);
}
}
Console.Clear();
Console.ForegroundColor = ConsoleColor.DarkGreen;
Console.WriteLine("Kazandın! Kazancın şu: {0}", haydutsayi * 2);
para = para + haydutsayi * 2;
System.Threading.Thread.Sleep(1500);
goto oyunekran;
}
}
}
else
{
goto secim_savasyadaode;
}
Console.ReadKey();
}
else
{
if (gun >= 365)
{
gun = 0;
yil++;
goto oyunekran;
}
else
{
gun++;
goto oyunekran;

}
}
}
else
{
goto oyunekran;

}
}
     
 
what is notes.io
 

Notes is a web-based application for online 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 14 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.