Introduction - If you have any usage issues, please Google them yourself
Snake game source code VC++
Snake programming essentials
1, each scraper invalid rectangle when you need to pay attention to the size and position, and generally coordinate the entire minimum and maximum coordinates of the snake composed of
Rectangular (including the snake s head and body)
2, the snake should refer to the body of the running track running track smugglers
3, after the snake eats something changes in the body of each point should refer to the first point of change, that change after the first point of the next
The second change time period, then the next time change the third point, and so on, until the last point change
End
4, the scores calculated variables: the number of snakes eating feces general, snakes eat large amount of feces, the game s difficulty level
Formula: (number of normal feces feces+ large number of)* difficulty level
5, one problem: the difficulty of the game box and the main window to set options for data exchange occurs using two