public void start() {
        ServerSocket socket = null;
        try {
            socket = new ServerSocket(port);
        } catch (IOException e) {
            System.out.println("Could not listen on port " + port + "\n");
            System.exit(-1);
        }
        while(true) {
            RealClient client1 = null;
            RealClient client2 = null;
            try {
                socket.setSoTimeout(0);
                client1 = new RealClient(socket.accept(), "guest" + (RealClient.getClientsNumber() + 1));
                client1.println(WELCOME_MESSAGE);
                socket.setSoTimeout(15000);
                client2 = new RealClient(socket.accept(), "guest" + (RealClient.getClientsNumber() + 1));
                client2.println(WELCOME_MESSAGE);
                new Game(client1, client2).start();
                System.out.println("Game created");
            } catch(SocketTimeoutException e) {
                SillyBot bot = new SillyBot();
                new Game(client1, bot).start();
            } catch(IOException e) {
                System.out.println("Could not accept client");
            }
        }
    }