The second course is designed to spring 2019 report
First, the pilot project name
Simple Snake game
Second, the experimental project functional description
Snake movement and achieve longer eat food
Third, the project introduces modular structure
Only a game theme, namely tanchishe.cpp
Fourth, implement the interface display
V. code hosting links
https://gitee.com/zhuwanxing/zwxc
Six experimental summary
In carrying out the process of writing the code, to build a snake, the snake then complete movement and control of movement, then the game is determined failed, i.e. across his body (yet to be resolved simply fail reverse movement), or a configuration of the game met borders will fail, plus eating foods increase the length of the last planes to use the previous games of the code clear screen, the game screen will become clean
Seven test summary
Week / Date | This week the time spent | Lines of code | Learned knowledge Introduction | Currently more confusing issues |
---|---|---|---|---|
3/15-3/22 | 15 hours | About 350 | Learn to deal with an array of data | For there are many pointers do not understand |
3/22-3/29 | 12 hours | 300 | Learn to use the strings | For pointers are still many do not understand |
3/29-4/5 | 12 hours | 300 | Learn to use a pointer | For there are many unclear points pointer usage |
4/5-4/12 | 15 hours | About 450 | Learn to use pointers with arrays | The compiler began baffling problem, and the new function uses unskilled |
4/12-4/19 | 15 hours | About 550 | Learn something new and dynamic memory allocation functions | Or use the new functions of the problem |
4/19-4/26 | 12 hours | About 450 | Learn to use the structure | Use physical structure to better deal with some issues |
4/26-5/3 | 4 hours | 200 | Further study of the structure | There are many pointers to structures do not understand |
5/3-5/10 | 15 hours | About 900 | Return delivery functions and macros | The transfer function of the normalized run there are still many do not understand |
5/10-5/17 | 12 hours | 800 | Advanced pointers and linked lists | Use the list as well as the use of advanced pointer |
5/17-5/24 | 15 hours | About 700 | Learn how to make games | Headers #include <windows.h> usage does not understand |
5/24-5/31 | 15 hours | 800 | Learning a second small game | Headers #include <cwindows.h> can not be used, making it impossible to debug or run |