285
社区成员
The Link Your Class | https://bbs.csdn.net/forums/MUEE308FZU202201 |
---|---|
The Link of Requirement of This Assignment | https://bbs.csdn.net/topics/608859318 |
The Aim of This Assignment | Specify information statistics on file |
MU STU ID and FZU STU ID | 20124287 832002122 |
Teammate's MU STU ID and FZU STU ID | 20124066 832002123 |
Teammate's blog link | https://bbs.csdn.net/topics/609330771 |
GitHub link | https://github.com/BlueP0118/EE308_Lab2-2/tree/6b74bb3108fe26b4823c3a39a33d5adc6843ad45 |
Video demo link | https://v.youku.com/v_show/id_XNTkxOTc5MTAzMg==.html |
Difficult functions and programming thinking
Throughout the project, we designed an App that allows you to play the "Bobing" game with very simple operations. Features are focused, with a focus on "Bobing" gameplay. We think the difficulties in the process are:
One of a number of dice in which images alternate with different rolls
int a = Math.abs(SecureRandom.getInstance("SHA1PRNG").nextInt()) % 6 + 1;
int b = Math.abs(SecureRandom.getInstance("SHA1PRNG").nextInt()) % 6 + 1;
int c = Math.abs(SecureRandom.getInstance("SHA1PRNG").nextInt()) % 6 + 1;
int d = Math.abs(SecureRandom.getInstance("SHA1PRNG").nextInt()) % 6 + 1;
int e = Math.abs(SecureRandom.getInstance("SHA1PRNG").nextInt()) % 6 + 1;
int f = Math.abs(SecureRandom.getInstance("SHA1PRNG").nextInt()) % 6 + 1;
mView.findViewById(R.id.imageView3).post(new Runnable() {
@Override
public void run() {
((ImageView) mView.findViewById(R.id.imageView3)).setImageResource(getDice[a]);
}
});
Working photo
Pair programming experience
In this experiment, we started to touch the front-end development software, designed Ul, learned to use Axure for some interactive operations, and used Android studio for programming and running. I learned a lot from this collaboration. Teamwork is very important, and group cooperative learning is more conducive to students' independent thinking. The cooperative group is based on the premise of voluntary grouping of students, and then adjusted according to the large differences in the learning degree among the teams, so that the teams can achieve a basic balance in human resource allocation. At the same time, in programming, many people's different ideas and actions can better check and improve the code.
Long time events
We chose the more convenient Android studio to complete this project, but we are not familiar with Java and xml format interface design
How did we spend a lot of time in making the dice show the dynamic effect of Chu Yizhong in the process of rolling dice
We are assigning the game a score and storing the data to achieve the competitive nature of the game. Again, it took a long time
PSP
PSP2.1 | Personal Software Process Stages | 预估耗时(分钟) | 实际耗时(分钟) |
---|---|---|---|
Planning | 计划 | 30 | 30 |
Estimate | 估计这个任务需要多少时间 | 30 | 30 |
Development | 开发 | 400 | 420 |
Analysis | 需求分析 (包括学习新技术) | 40 | 30 |
Design Spec | 生成设计文档 | 30 | 30 |
Design Review | 设计复审 (和同事审核设计文档) | 40 | 40 |
Coding Standard | 代码规范 (为目前的开发制定合适的规范) | 30 | 20 |
Design | 设计 | 60 | 30 |
Coding | 编码 | 400 | 500 |
Code Review | 代码复审 | 100 | 80 |
Test | 单元格 | 200 | 160 |
Reporting | 报告 | 60 | 50 |
Test Report | 测试报告 | 30 | 40 |
Size Measurement | 计算工作量 | 30 | 40 |
Postmortem & Process Improvement Plan | 事后总结 | 30 | 30 |
合计 | ----- | 1510 | 1520 |
Learning Progress Bar
Week | Code number | Cumulative Code number | Study time this week | Cumulative learning events | Important Growth |
---|---|---|---|---|---|
1 | 500 | 500 | 10 | 10 | Achieve the basic functions of Bobing |
2 | 400 | 900 | 10 | 20 | Achieve dynamic interface beautification design |
Github link
https://github.com/BlueP0118/EE308_Lab2-2/tree/6b74bb3108fe26b4823c3a39a33d5adc6843ad45
Video link
https://v.youku.com/v_show/id_XNTkxOTc5MTAzMg==.html