Pair Programming (Golden Point game), Pair Programming Golden Point game
My role is the driver.
I. pairing partners
Navigator: Zhao Jun
For the job address, see my blog.
Ii. Code address
Https://coding.net/u/k2048/p/huangjindian/git/blob/master/main.c
Iii. Summary
1. Personal Summary
In this assignment, I acted as the driver and Zhao Jun acted as the pilot. I was responsible for Algorithm Implementation and code optimization. Zhao Jun is responsible for providing the algorithm ideas used by the Code and reviewing the red flag. In this programming, we use the C language. The game mode selects the standalone mode. We enter the number of rounds, randomly extract data for the game, and finally output the player's score. Zhao Jun helped me a lot in this programming process, saving me a lot of time in the algorithm implementation process, and found the problems I did not find in the code review. At the same time, I also realized that I am not familiar with some of the learned knowledge, resulting in one or more errors in programming. Therefore, you should review your previous knowledge from time to time. I also realized that the power of a person is limited. Only by brainstorming can I come up with a better idea.
2. Summary
After this pair programming, I think there are still great gains. Programming is a very boring thing, but Pair Programming greatly solves this boring problem. When algorithms cannot be implemented or errors occur, one person may easily fall into a strange circle that cannot be solved or the other party can provide other ideas to solve the problem. Sometimes, when we make mistakes, no matter how we review them, we cannot find them, but others can easily find them. They are often the observers who are confused. These are the benefits of Pair programming. Pair Programming plays a major role in improving code quality and efficiency.
Iv. Images
1. Picture when the program is running.
2. Photos during programming