Home > Back-end >  Have a great god can help me this small new hands
Have a great god can help me this small new hands

Time:09-25

The teacher asked a modular programming work, I got a 2048 on the Internet and then changed, in the end of the game state just skip the MessageBox destroyed pop-up window...
Responsible for the judgment of the code and feel no problem...
 if (! Number of elimination & amp; & Judgment for full==true) 
{
MessageBox (game window, TEXT (" you lose "), TEXT (" game over "), MB_OK);
SendMessage (game window, WM_DESTROY, 0, 0).
}
The else {
//randomly generated a new 2 or 4 into the array
If (number of elimination | | sink) {random number object. (); }
}

CodePudding user response:

Easy language?
  • Related