Home > Back-end >  C newbie questions, questions about programming ideas, to master grammar is similar, but if you want
C newbie questions, questions about programming ideas, to master grammar is similar, but if you want

Time:12-22

C + + beginners ask, basic grammar, basic concepts (classes, template) learn about, the STL also know some, but if you want to achieve a small game graphics (such as a snake or puzzle), under the condition of not to watch other people's ideas without thinking, need to how to improve this situation? Hope everybody glad to,

CodePudding user response:

To realize the core functions, such as the snake his move, and then add the keyboard control snake moving function, finally add a snake hit the wall or when the end of the function itself, the last of the last add function to restart the game,
  • Related