EE308 LAB4

YuIiiiiiiiiiiii 2021-10-09 16:04:02
The Link Your Classhttps://bbs.csdn.net/forums/MUEE308FZ
The Link of Requirement of This Assignmenthttps://bbs.csdn.net/topics/601188617
MU STU ID and FZU STU ID19104731 831901102
Teammate's MU STU ID and FZU STU ID19104006 831901120
Teammate's blog linkhttps://bbs.csdn.net/topics/601429451

目录

1.PSP Table 

2.Project Analysis

3.Coding Design


1.PSP Table 

Personal Software Process StageEstimated Time (minutes)Actual Time (minutes)
Planning60200
Estimate100200
Development--
Analysis300350
Design Spec3030
Design Review60100
Coding Standard2020
Design200300
Coding10001500
Code Review300300
Test200200
Reporting6060
Test Report4040
Size Measurement2020
Postmortem&Process Improvement5060
Total24403380

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

2.Project Analysis

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:

  1. An interface, six dice, shake randomly to produce results.
  2. Allows multiple people to participate, and can automatically determine the results, it can be a stand-alone version or a network format.
  3. The interface style is lively and generous in response to the scene, and lays the foundation for the second implementation of pair coding.

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


3.Events In Coding

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


    https://www.bilibili.com/video/BV1zh411H75G/

...全文
106 点赞 收藏 回复
写回复
回复
切换为时间正序
请发表友善的回复…
发表回复
相关推荐
发帖
福州大学-软件工程EE308-2021秋
创建于2021-09-10

185

社区成员

福州大学 梅努斯国际工程学院 软件工程 教学
帖子事件
编辑了帖子
2021-10-10 02:07
编辑了帖子
2021-10-10 01:59
编辑了帖子
2021-10-09 19:28
编辑了帖子
2021-10-09 18:31
编辑了帖子
2021-10-09 18:03
编辑了帖子
2021-10-09 17:05
展开
社区公告
暂无公告