Which course does this assignment belong to | Construction Method - Autumn 2021 - Software Engineering of Fuzhou University |
---|---|
Where is this job required | Software Workers Practice Second Pairing Programming Job in Autumn 2021 |
Personal Student Number | 03190232 |
Paired member number | 031902111 |
Job Blog Links for Paired Partners | |
GitHub warehouse address | Github repository |
Video demo link |
PSP Forms and Learning Progress Bar
PSP table
PSP | Personal Software Process Stages | Estimated time-consuming (minutes) | Actual time consumed (minutes) |
Planning | plan | 60 | 120 |
Estimate | Estimate how long this task will take | 1590 | 2150 |
Development | Development | - | - |
Analysis | Needs analysis (including learning new technologies) | 300 | 600 |
Design Spec | Generate design documents | - | - |
Design Review | Design review (review design documents) | - | - |
Coding Standard | Code specifications (develop appropriate specifications for current development) | 60 | 60 |
Design | Specific design | 120 | 100 |
Coding | Specific encoding | 800 | 1000 |
Code Review | Code Review | 60 | 60 |
Test | Test (self-test, modify code, submit changes) | 60 | 60 |
Reporting | Presentation | 100 | 120 |
Test Report | Test Report | - | - |
Size Measurement | Calculate Workload | 30 | 30 |
Postmortem & Process Improvement Plan | Summarize afterwards and propose process improvement plan | 60 | 120 |
Total | 1650 | 2270 |
Learning Progress Bar
Day N | Add Code (line) | Cumulative code (line) | Time-consuming study the same day (Hours) | Cumulative learning time (Hours) | Important growth |
1 | 0 | 0 | 3 | 3 | A preliminary understanding of the development process of WeChat applet |
2 | 30 | 30 | 3 | 6 | Familiarized with the use of labels |
3 | 50 | 80 | 6 | 12 | Initially completed the interface editing, initially learned to use wxss |
4 | 200 | 280 | 6 | 18 | Requirements for single-person cookies completed |
5 | 280 | 560 | 8 | 26 | Requirements for Multiplayer Gambling Preliminary Completed |
Programming thinking
Focus
1.Use of wxss, wxml, js
Since I was the first time to make a WeChat applet, wxss, wxml, js had only heard about it in the previous learning, which was not very likely. As a result, I encountered a lot of difficulties in encoding and spent a lot of time learning it.
2. WeChat Developer Tools
To make the WeChat applet, downloaded the WeChat Developer Tool and learned the basic use of the tool
difficulty
1. There are many difficulties in modifying the style of the label. I don't know how to modify wxss. I spend a lot of time looking at official documents and looking for videos.
2. I didn't know how to generate random numbers when I randomly generated the dice, but I learned after reading many tutorials
data: { num1:0, num2:0, num3:0, num4:0, num5:0, num6:0, arr:[], userNumbers : 0, now_num:0, rank_list:[ "First Show", "Binary stroke", "Quadrilateral", "Triple red", "Opposite Hall", "Primordia!", "Wish your kids a promising future!", "Five children with one show!", "Five Kings!", "Six cups of black!", "Six cups of red!", "Flos Aristolochiae!" ] }, handle_dice(e){ var app = getApp() var temp = [0,0,0,0,0,0,0] this.setData({ num1: Math.ceil(Math.random()*6), num2: Math.ceil(Math.random()*6), num3: Math.ceil(Math.random()*6), num4: Math.ceil(Math.random()*6), num5: Math.ceil(Math.random()*6), num6: Math.ceil(Math.random()*6), userNumbers: app.globalData.all_num, }); temp[Number(this.data.num1)] += 1; temp[Number(this.data.num2)] += 1; temp[Number(this.data.num3)] += 1; temp[Number(this.data.num4)] += 1; temp[Number(this.data.num5)] += 1; temp[Number(this.data.num6)] += 1; this.setData({ arr:temp, now_num:Number(this.data.now_num)+1 }) console.log(this.data.now_num) console.log(this.data.userNumbers) },
Pair programming process
Github correlation
Warehouse
https://github.com/ZhuYacheng/Bo-bing
Programming experience
1. Compared with the first pairing programming process, this one is a lot more difficult. Last time, I just encountered difficulties in using the prototype tools. This time, I encountered a lot of difficulties in learning and using the WeChat developer tools, wxss, wsml, js, but I also learned a lot after discussion and learning.
2. Feel good and understand the basic process of applet development
Programming Events and Gains
1.Learn to use wxss styles by discussing and finding data
2.Basic understanding of the use of various tags in wxml, and some of the basic framework of the page.
3.I learned the importance of UI prototyping for programming.