1, PSP table
PSP2.1 | Personal Software Process Stages | Estimated time (minutes) | Actual time (minutes) |
---|
Planning | plan | 20 | 15 |
· Estimate | ·Estimate how long this task will take | 20 | 15 |
Development | development | 1000 | 980 |
· Analysis | ·Needs analysis (including learning new technologies) | 300 | 320 |
· Design Spec | ·Generate design documents | | |
· Design Review | ·Design review (review design documents with colleagues) | | |
· Coding Standard | ·Code specifications (develop appropriate specifications for current development) | 30 | 20 |
· Design | ·Specific design | 180 | 120 |
· Coding | ·Specific coding | 300 | 260 |
· Code Review | ·Code review | 30 | 20 |
· Test | ·Test (self test, modify code, submit modification) | 80 | 70 |
Reporting | report | 70 | 60 |
· Test Report | ·Test report | | |
· Size Measurement | ·Calculation workload | 60 | 40 |
· Postmortem & Process Improvement Plan | ·Summarize afterwards and put forward process improvement plan | 10 | 10 |
total | | 2100 | 1930 |
Learning progress bar
Week N | New code (line) | Cumulative code (line) | Learning time this week (hours) | Cumulative learning time (hours) | Important growth |
---|
1 | 500 | 900 | 36 | 36 | Master the basic framework of small program development |
2, Thoughts on key or difficult function programming
- Implementation of home page background map and various icons
<!-- Avatar and text -->
<view class="vi1" style="transform: rotate({{deg}}deg);margin-left:{{l}}px;margin-top:{{t}}px;">
<image src="/img/Avatar.png" mode="widthFix" class="compss"></image>
<text style="margin-left:10rpx;">nickname</text>
</view>
<!-- Global background -->
<view class="vi2">
<image src="/img/v2_r06z9t.jpg" mode="widthFix" class="map"></image>
</view>
<!-- Four icons and background -->
<view class="vi3">
</view>
<view class="vi4">
<image src="/img/ic1.png" style="width:100rpx;height:100rpx;margin-left:9%;"></image>
<image src="/img/ic2.png" style="width:100rpx;height:100rpx;margin-left:9%;"></image>
<image src="/img/ic3.png" style="width:100rpx;height:100rpx;margin-left:9%;"></image>
<image src="/img/ic4.png" style="width:100rpx;height:100rpx;margin-left:9%;"></image>
<text style="margin-left:11%;">ranking</text>
<text style="margin-left:14%;">prize</text>
<text style="margin-left:13%;">set up</text>
<text style="margin-left:10%;">Rules of the game</text>
</view>
<!-- standalone mode -->
<view class="vi5">
</view>
<view class="vi6" bindtap="jump">
<text style="margin-left:100rpx;font-size:100rpx;color:white;">standalone mode </text>
</view>
<!-- Private room -->
<view class="vi7">
</view>
<view class="vi8">
<text style="margin-left:100rpx;font-size:50rpx;color:white;">Private room</text>
</view>
<!-- Create room -->
<view class="vi9">
</view>
<view class="vi10">
<text style="margin-left:400rpx;font-size:50rpx;color:white;">Create room</text>
</view>
-
The implementation effect is shown as follows:
- Click the icon to switch pages
// Jump function
jump(){
wx.navigateTo({
url: '/pages/page1/page1',
})
}
})
- commit screenshot
3, Paired pictures
4, Pairing programming experience
1. Pairing programming is different from programming by yourself. Although you can program by yourself, the time and place can be random, but you will write a lot of bugs. It will take longer to find bugs and may change more and more wrong. Although there are some constraints on the time and place when discussing pairing programming, pairing teammates will consider it from another aspect, You can find bugs or find bugs yourself from the perspective of your teammates, which saves a lot of time and improves the efficiency of completing tasks.
2. At the beginning of this programming, I didn't know where to start. I hadn't been in contact with small program development before. Later, I learned to use wechat developer software through my roommate. I hadn't used this software before. Then Baidu watched the video of station b and gradually became familiar with how to write and debug functions. Through this writing, I found that my programming foundation was very weak, so I spent a lot of time browsing various materials and websites.
3. Our pairing game failed to complete all the functions designed before, which is also the reason for our lack of code ability. After this operation, I will continue to learn and strive to complete a relatively complete project in team operation.
5, Pairing coding takes a long time and gains more events
- First of all, it takes a lot of time to learn how to use wechat developer tools, because neither of us has used the initial installation of small programs, and the preparation of various modules are learning step by step online. Thank my teammates very much here, because she accurately finds the corresponding learning materials or videos for our doubts every time, I am also patiently answering various questions, so I have a preliminary grasp of the software.
- Secondly, we discussed the layout of the home page for a long time during coding. The interface written through the online tutorial is quite different from what we think, such as the color of the picture is too dark or the size of the icon is inappropriate. The interface made for the first time does not meet the needs of users, so we still modify it constantly when making the interface, But I also have a deeper understanding of the applet interface.
- Finally, it takes a lot of time to design six dice and randomly shake the output algorithm.