EE308lab2-2

yegakkk 2022-11-18 22:25:35
The Link Your Classhttps://bbs.csdn.net/forums/MUEE308FZU202201
The Link of Requirement of This Assignmenthttps://bbs.csdn.net/topics/608993798
MU STU ID and FZU STU ID20124520_832001229
Teammate1's MU STU ID and FZU STU ID20123426_832001106
Teammate1's blog link
Teammate2's MU STU ID and FZU STU ID20124716_832001109
Teammate2's blog link

1. Preface

In this experiment, our team spent a week trying to learn Axure RP9, but found it was too difficult to complete within a week. We had to make a last-minute fix before handing in our homework. In terms of division of labor, I was responsible for the preliminary course, taking photos and writing blogs. My partners will do the rest.

2.PSP form

PSPEstimated time(min)Real Time(min)
Planning4060
Estimate2525
Development\\
Analysis6060
Design Spec\\
Design Review2020
Coding Standard5560
Design8095
Test120200
Test Report6065
Size Measurement\\
Postmortem & Process Improvement Plan3040

3. Difficulties encountered in programming

In programming, I personally think the most difficult thing is how to implement dice results report. Since the dice we use are all maps, we need to mark each side. This step is very tedious and easy to make mistakes. This is also a difficult point. Solving these problems has also broadened my mind to some extent, enabling me to analyze more carefully when I encounter some difficult problems in the future.

4. Implementation Difficulties

In programming, I personally think the most difficult thing is how to implement the dice result report. Since the dice we use are all maps, we need to mark each side. This step is very tedious and easy to make mistakes. This is also a difficult point. Solving these problems has also broadened my mind to some extent, enabling me to analyze difficult problems more carefully in the future.

img

5.Key Functions

DICE point:

if (obj.data.flag==true){
      let one = Math.floor(Math.random() * 5 + 1);
      obj.data.list[one]=obj.data.list[one]+1;
      let two = Math.floor(Math.random() * 5 + 1);
      obj.data.list[two]=obj.data.list[two]+1;
      let three = Math.floor(Math.random() * 5 + 1);
      obj.data.list[three]=obj.data.list[three]+1;
      let four = Math.floor(Math.random() * 5 + 1);
      obj.data.list[four]=obj.data.list[four]+1;
      let five = Math.floor(Math.random() * 5 + 1);
      obj.data.list[five]=obj.data.list[five]+1;
      let six = Math.floor(Math.random() * 5 + 1);
      obj.data.list[six]=obj.data.list[six]+1;
      console.log(obj.data.list);

Pair Programming Photos:

...全文
34 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

285

社区成员

发帖
与我相关
我的任务
社区描述
福州大学 梅努斯国际工程学院 软件工程(2022秋) 教学
软件工程 高校
社区管理员
  • LinQF39
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧