285
社区成员
The Link Your Class | https://bbs.csdn.net/forums/MUEE308FZU202201 |
---|---|
The Link of Requirement of This Assignment | https://bbs.csdn.net/topics/608859318 |
MU STU ID and FZU STU ID | 20124066&832002123 |
Teammate's MU STU ID and FZU STU ID | 20124287&832002122 |
Teammate's blog link | https://bbs.csdn.net/topics/609331603 |
GitHub link | https://github.com/BlueP0118/EE308_Lab2-2/tree/6b74bb3108fe26b4823c3a39a33d5adc6843ad45 |
Video demo link | https://v.youku.com/v_show/id_XNTkxOTc5MTAzMg==.html |
Personal Software Process Stages | ESTIMATE TIME/MINUTES | REAL |
---|---|---|
TIME(MINUTE)Planning | 30 | 40 |
Estimate | 20 | 20 |
Development | 30 | 20 |
Analysis | 60 | 50 |
Design Spec | 40 | 40 |
Design Review | 50 | 40 |
Coding Standard | -- | -- |
Design | 60 | 60 |
Coding | 1000+ | 1000+ |
Code Review | 100 | 100 |
Test | 30 | 20 |
Reporting | 60 | 40 |
Test Report | 20 | 20 |
Size Measurement | -- | -- |
Postmortem&Process Improvement Plan | 30 | 30 |
Total | 1530 | 1480 |
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:
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
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]);
}
});
Title page:
Matching mode for the second button then Click to enter after a successful match is displayed:
It was very interesting to cooperate with my classmates to complete a ui interaction design. In this experiment, I learned to use axure to do some simple interaction operations, which made the designed interface more beautiful. And then we use android studio to design the application which based on the idea building before. During the time, we learned the basic operation to create an application and we review and reinforce programming language.