183
社区成员




The Link Your Class | https://bbs.csdn.net/forums/MUEE308FZ |
---|---|
The Link of Requirement of This Assignment | https://bbs.csdn.net/topics/601188617 |
MU STU ID and FZU STU ID | 19104731 831901102 |
Teammate's MU STU ID and FZU STU ID | 19104006 831901120 |
Teammate's blog link | https://bbs.csdn.net/topics/601429451 |
目录
Personal Software Process Stage | Estimated Time (minutes) | Actual Time (minutes) |
---|---|---|
Planning | 60 | 200 |
Estimate | 100 | 200 |
Development | - | - |
Analysis | 300 | 350 |
Design Spec | 30 | 30 |
Design Review | 60 | 100 |
Coding Standard | 20 | 20 |
Design | 200 | 300 |
Coding | 1000 | 1500 |
Code Review | 300 | 300 |
Test | 200 | 200 |
Reporting | 60 | 60 |
Test Report | 40 | 40 |
Size Measurement | 20 | 20 |
Postmortem&Process Improvement | 50 | 60 |
Total | 2440 | 3380 |
Days |
New Code(line) |
Cumulate Code (line) |
Spend Time(h) |
Experimental-cost Time(h) |
Schedule |
1 |
71 |
71 |
4 |
4 | Page layout design, jump logic |
2 |
210 |
281 |
8 |
12 | core code |
3 |
92 |
373 |
6 |
18 | Debug interface, fix the program |
a.Needs
This wechat mini-app is designed for mid-autumn festival bobing game. With this app, you can play with your friends and families online. During this COVID period, we can enjoy the good time. Therefore, a Bobing mini app is in demand, it needs:
b.Approaches
WeChat mini program platform design a simple Bobing small program, including login, view rules, select modes, select rooms, roll dices and automatically record the Bobing results. In further design, it can also be associated with rewards.
c.Basic UI design
a.Diffcult and thinking of programing
As we were new to the WeChat mini-app development platform and JavaScript programming, learning the language and getting used to the platform took up most of the time throughout the experiment, while many programming problems caused us many troubles.
But when we co-operating with each other, we gradually realise that having someone to work with is so productive and comfortable. When one of us has a problem, we can sit down together and discuss where the problem arises and how to solve it. In addition, when we have different opinions, we can consolidate our views and keep the useful parts. At certain times, the inspiration of a partner can also be very useful. All in all, it's great to have someone to work with.
b.Programming events
Initially I intended to use the GUI to model the six dice and import them into the program, but the new development platform and programming language caused us repeated bugs in learning and modelling, and we were never able to import them successfully. In the end we decided to use random images combined with functions to generate the dice shake effect.
It also took us a lot of time to write and call the judge function. In the initial version, judge could not be called all the time, resulting in the whole program could not run at all. Besides, the strange logic of JavaScript and the special configuration of small program development also made us repeatedly study for a long time. Finally, we write the random number array directly into judge's param, and set the result as the return value , and then successfully call judge to judge the final result using var obj= this in Enter.
Finally, change the judgment loop written in Python to JavaScript format.Since the WeChat mini-app development platform has unique " if else-if else" packaging structure, the main body is configured in the .wsml page, so initially we tried to use it many times have failed, the program has been reporting errors, after we carefully think about it,we design to written "if loop" directly in the js interface, not only will be less difficult to code, but also makes us in the call and modify a lot easier
c.Cooperative Programming Experience
Through this co-operative lab, I have found that independent thinking sometimes does not work best. Collaboration represents the exchange of ideas and the support of collaborators. When people work alone, 1+1 is always equal to or less than 2, but when they work together, 1+1 will be greater than 2.We were acutely aware that if we were to develop a piece of software, each step would take a lot of time to complete, from the initial idea to the main design, from the logical implementation of the features to the building of the code, plus the final testing and performance optimisation. Communication and collaboration with partners can make things much easier to accomplish.
Co-oprerate Photo:
https://github.com/YuIHelloworld/EE308-LAB4.git