Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
597 B
0
Indexable
Never
using TicTacToe;

namespace Piskvorky_JanNeuC3a
{
    internal static class Program
    {
        /// <summary>
        ///  The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            ApplicationConfiguration.Initialize();
            GameServer server = new GameServer();

            // Start the server in a separate thread
            Thread serverThread = new Thread(new ThreadStart(server.Start));
            serverThread.Start();

            Application.Run(new Form1());

        }
    }
}