This repository has been archived on 2025-04-11. You can view files and clone it, but cannot push or open issues or pull requests.
breakthroughpine64backup/test.cpp
Brandon Jackson c4aaa39cf6 Updated the test file to launch the server
It asks the user to enter a port number, which is passed into the startGame function as an argument, once that happens, the server is launched, and a client can connect via telnet.
2015-10-27 21:32:52 -05:00

14 lines
240 B
C++
Executable file

#include "Engine.h"
using namespace std;
int main()
{
Engine e;
int pn = 0;
cout << "Welcome to Breakthrough server launcher, please enter a host port number: \n";
cin >> pn;
cin.clear();
cin.ignore(10000,'\n');
e.startGame(pn);
}