public static IGame CreateInstance(string type) { IGame result = null; switch (type) { case "XO": result = new XO(); break; } return(result); }
public void NewXO() { xo = new XO(); }