EditText num =findViewById(R.id.edt_test);int number =Integer.parseInt(et_age.getText().toString());
Automatically generate random results
key function: Each cast of six dices produces a random result (there are 6^6 results in total). Corresponding results will be generated automatically for each throw, such as: zhuangyuan (hongliubo), tanhua, bangyan and so on.
Time Planning: Individual activities take time to plan, and so does working in pairs. The two of you should list your free time within the project cycle, then choose overlapping periods and plan your progress within these periods.
Communication: Communication is definitely one of the most important aspects of pairing. First of all, timely communication can avoid a lot of unnecessary rework. Secondly, the information collected by both parties can be effectively used in the communication. At the same time, we need to distribute work equally through communication.
Preliminary preparation: Since we were developing software for the first time, we first had to download the appropriate tools. The main tools we use this time are: android studio, jdk, SDK and so on. These tools are not downloadable like normal apps, they must be configured correctly when installed before they can be used later. So, after spending a lot of time looking for tutorials on how to configure these tools, we finally came to the conclusion that we should look for tutorial videos of the same version of the tool online and learn step by step if we need to, even if there is a mistake, the tool may not work in the end.
Implement different random results to produce the corresponding prize or not winning: We know that the six dices produce 6^6 results in a random situation, so it is impossible to enumerate each result with the corresponding awards. So we choose to use the if-else statement and count the number of times that the number “four” occurs in the result. But the logic is still complicated, and we spent a lot of time figuring it out.
Duplication of work due to miscommunication: In the stage of combining materials of this cooperation project, due to inappropriate file name, a lot of time was spent on modifying the name of the sub-project. What I mean is that even some seemingly insignificant things without effective communication will magnify their adverse effects in cooperation. Therefore, we should pay attention to every detail in cooperation.