static void Main(string[] args) { Console.CursorVisible = false; Console.BufferHeight = Console.WindowHeight; var engine = new GameEngine(); engine.Start(); }
public static void Main() { Console.CursorVisible = false; //Console.BufferHeight = Console.WindowHeight; var snake = new GameEngine(); snake.Start(); }
static void Main(string[] args) { IReader reader = new ConsoleReader(); IWriter writer = new ConsoleWriter(); IEngine engine = new GameEngine(reader, writer); engine.Start(); }
static void Main() { GameEngine game = new GameEngine(); game.Start(); while (true) { ; } }
static void Main(string[] args) { Console.WindowWidth = 74; Console.WindowHeight = 30; Console.SetBufferSize(Console.WindowWidth, Console.WindowHeight); Console.BackgroundColor = ConsoleColor.White; Console.CursorVisible = false; Console.Clear(); ConsoleGraphics graphics = new ConsoleGraphics(); GameEngine engine = new GameEngine(graphics); ResourcesManager.ImageResources.LoadImages(graphics); MenuScene scene = new MenuScene(graphics.ClientWidth, graphics.ClientHeight); scene.AddMenuItems(MenuScene.GetMainMenuItems()); engine.ChangeScene(scene); engine.Start(); }
static void Main(string[] args) { var engine = new GameEngine(); engine.Start(); }
static void Main(string[] args) { var disp = new ConsoleDisplay(100, 50); var game= new SnakeGame(); var engine = new GameEngine(game, disp); engine.Initialize(); engine.Start(); }