Answer to Question #58611 in C# for prisca

Question #58611
i want to ask that how can i apply time limit in snake game.Please send the easiest method.
1
Expert's answer
2016-03-22T11:31:03-0400
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!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS