public bool isGameReady()
 {
     if (g == null && h == null)
     {
         return(false);
     }
     return(g != null ? g.isGameStarted() : h.isGameStarted());
 }