Question #58611

i want to ask that how can i apply time limit in snake game.Please send the easiest method.

Expert's answer

You should put timer on Form. Set interval as time of your round (time is in milliseconds there) and then click twice on event Tick which will generate automatic functions as:

private void timer1_Tick(object sender, EventArgs e)
{
//your code.
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS