using System.Collections.Generic;
using System.Threading.Tasks;
namespace ConsoleApplication24
static void Main(string[] args)
Console.CursorVisible = false;
char[,] matice = new char[width, height];
for (int i = 0; i < height; i++)
for (int j = 0; j < width; j++)
Console.SetCursorPosition(0, 0);
Console.WriteLine($"Skóre = {skore} ");
Console.WriteLine($"Zivoty = {zivoty} ");
matice[5, (poziceAuta+5)%width] = 'a';
matice[3, poziceAuta] = 'a';
matice[1, (poziceAuta+2)%width] = 'a';
matice[0, (poziceAuta+7)%width] = 'a';
for (int i = 0; i < height; i++)
for (int j = 0; j < width; j++)
Console.Write(matice[i, j]);
Console.WriteLine("Pro ukončení stikněte Q");
Console.WriteLine("Level: " + Level);
Console.WriteLine("Další level " + skore*ResetSkore + "/" + (1 + Level * 2));
if (Console.KeyAvailable)
ConsoleKey klavesa = Console.ReadKey().Key;
case ConsoleKey.RightArrow:
case ConsoleKey.LeftArrow:
case ConsoleKey.DownArrow:
poziceAuta = ++poziceAuta % width;
if (((poziceAuta+7)%width) == x && y == 0)
else if (((poziceAuta + 2) % width) == x && y == 1)
else if (poziceAuta == x && y == 3)
else if (((poziceAuta + 5) % width) == x && y == 5)
Obtiznost = Obtiznost * 5 / 6;
Console.WriteLine("Želva je přejeta");
Console.WriteLine("Pro ukončení stiskněte Q");
Console.WriteLine("Pro restart stiskněte R");
ConsoleKey klavesaK = Console.ReadKey().Key;
System.Threading.Thread.Sleep(Obtiznost);