void tmr_Tick(object sender, EventArgs e) { //after 3 sec stop the timer tmr.Stop(); //display Form1 Othello Frm1 = new Othello(); Frm1.Show(); //hide Splash form this.Hide(); }
public static void Main(string[] args) { ColorPrint.Write("OTHELLO GAME - C#\n", Color.Green); // try to read board size from command line args if (args.Length == 0 || !int.TryParse(args[0], out var boardSize)) { boardSize = GetBoardSize(); } else { Console.WriteLine($"Using board size: {boardSize}"); } var game = new Othello(boardSize); game.Play(); }