hi, I recently started to build a snake game in c# using WinForms and i got stuck.
I'm not sure how to build the main loop.
In C I know it should look like this:
but I don't know how to implement the concept in Forms. I guess it got something to do with threads or methods that are already exist in the lang'.Code:int main() { Initialize()... while (NoCollision) { moveSnake(); drawSnake(); } Endgame().. }
So how is it should look like?
Thanks a lot (:



LinkBack URL
About LinkBacks


