Golden Dot Game
Project requirements:
The Golden Dot game is a digital mini-game whose game rules are:
n students (n usually greater than ten), each writing a rational number between 0~100 ( excluding 0 or three ), to the referee, the referee calculates the average of all the numbers, and then times the 0.618(so-called golden partition constant) , the G value is obtained. The number of the submitted nearest to G(absolute value) of the students get n points, the farthest from the G students get-2 points, the other students get 0 points. after a few days of playing, we found some interesting phenomena, such as the golden dots moving down gradually.
Now please according to the rules of the game, make up a can play with a number of small game program, the requirements are as follows:
1, this job belongs to the pair programming project, must be completed by two people, and will be sent to the blog, respectively, the operation of the source code submitted to the codeing system;
2, if possible to use the C/s or b/n as much as possible, that is, using the server to receive and process all the players submitted by the number, and the results back to the players, players can be submitted by the client number;
3, if the use of single-machine approach, it is necessary to provide users with convenient input interface;
4, the game can run at least 10 rounds at a time, and can keep the results of the rounds.
Member Introduction:
members: Zhao Wei Azalea
My teammates programming ability is very strong, under his leadership, my programming ability has been greatly improved, every time I have what do not know the place, he is very patient to explain to me, until let me really understand so far, this pair of project really let me learn a lot of things.
My coding address:https://coding.net/u/dujuan105
Zhao Wei coding Address: Https://coding.net/u/zhaoweiliang
Zhao Wei's blog address is: http://www.cnblogs.com/zhaoweiliang/
Programming Harvest:
This pair of programming with my teammates learned a lot of things, but also know the importance of the end of programming, but different ideas, programming habits are different, such as do not pay attention to code norms, will bring a lot of distress to teammates, so must and teammates more communication, make you are satisfied with the program!
Pairing programming--The Golden dot game