Exemplo n.º 1
0
 /// <summary>
 /// Updates the game -- it should flip the cards itself once started!
 /// </summary>
 /// <param name="myGame">The game to be updated...</param>
 private static void UpdateGame(Snap myGame)
 {
     myGame.Update();             // just ask the game to do this...
 }
Exemplo n.º 2
0
 /// <summary>
 /// Draws the game to the Window.
 /// </summary>
 /// <param name="myGame">The details of the game -- mostly top card and scores.</param>
 private static void DrawGame(Snap myGame)
 {