EE308FZ LAB2-2

weixin_53637810 2022-11-18 23:34:23
The Link Your ClassFZU-SE-EE308-2022秋社区-CSDN
The Link of Requirement of This AssignmentLAB 2-2 The second pair programming assignment
MU STU ID and FZU STU ID20123957_832001221
Teammate‘s MU STU ID and FZU STU ID20124457_832002229
GitHub linkhttps://github.com/lwx1559792554/EE308_LAB2
Video demo linkhttps://www.bilibili.com/video/BV1YG4y1o7rk/

1.PSP and progress bar

Personal Software Process StagesEstimated time(min)Actual time(min)
Planning3020
Estimate1010
Development2010
· Analysis10080
· Design Spec3015
· Design Review1025
· Coding Standard53
· Design400 (Prototype design)420
· Coding600540
· Code Review3040
· Test3020
Reporting6060
· Test Report1010
· Size Measurement510
· Postmortem & Process Improvement Plan2015
Total13901278
Week NNew code (line)Accumulated code (line)This week Learning time (hours)Accumulated learning time (hours)Important growth
1200256532Design the prototype and UI
240759416108study PyQt5 and write codes

2.Key or difficult functions and programming thinking

  • Learn QT DESIGNER to design UI interfaces and convert them into python scripts .
  • In single player mode, how to show the dice picture according to the result of the roll, and how to write the appropriate logic to present the result perfectly.
  • In multiplayer mode, the results are output according to the number of people selected by the user and the id input by the user.
  • Solve the problem of switching between different pages, solve the problem of pressing the button to trigger the corresponding function.
  • Resolve package generated exe file but GIF image can not be displayed.
  • Really understand the importance of deep copying for python memory addresses.

3.working experience

Through this experiment, I learned how to use prototyping tools to design prototypes and interfaces, which requires detailed planning and material collection before design. For the sake of aesthetics, I chose to design my own materials instead of using all the materials from the Internet. Since we are familiar with python, we chose python's pyqt5 as our design tool. We can directly generate forms, buttons and so on through pyqt5designer, reducing the development time

4.Pair programming experience.

img

5.Give at least 3 events that take a long time in coding, arguing, reviewing, etc., and give you great gains.

  • Solve the problem of switching between different pages, solve the problem of pressing the button to trigger the corresponding function.
  • Resolve package generated exe file but GIF image can not be displayed.
  • Really understand the importance of deep copying for python memory addresses.

6.GIF image display

single player

The player can select the single player mode from the game initialization screen. After selecting the single player mode, the user can press the "Stop" button and then view the results of the game. Players can play it multiple times.

single_player

multi-player

The player can also select the mulyi- player mode from the game initialization screen.Players first need to input the number of players, and then input each player's ID at a time. After pressing the stop button, you can view the game results of each player and the ranking of each player

single_player

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

285

社区成员

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

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