EE308_Lab2-2
EE308_Lab2-2
| 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:
- We wanted to make the dice move rather than just get a static result. Finally, we decided to make the pictures of the dice with different points alternately appear at different six dice to achieve a more humane dynamic effect.
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]);
}
});
- We believe that the second difficulty lies in how to make the numbers thrown out of the dice correspond to the result images displayed. Finally, we used array correspondence to solve this problem.
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
- Code
We chose the more convenient Android studio to complete this project, but we are not familiar with Java and xml format interface design
- Interface
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
- Record
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
相关推荐
EE-308 LAB4 final version.7z
这是本次实验的压缩包
战国BC472年世界历史地图矢量文件SHP格式.zip
本资源为《战国BC472年世界历史地图矢量文件SHP格式》压缩包,文件大小约 2.26 MB,便于集中下载、整理和使用。具体内容请结合压缩包内的实际文件与说明查看。 在当前可读取的目录中,可见属性表(.dbf)、投影说明文件(.prj)、Shapefile 主文件(.shp)、Shapefile 索引(.shx)。建议解压后保持原有目录结构,先浏览文件清单与说明,再选择需要的资料进行加载或整理。 应用方面,可根据实际资料用于学习练习、资料检索、研究整理或项目参考。使用时可先确定所需内容,建立清晰的文件分类,再按项目要求进行筛选、转换与汇总。 使用 Shapefile 数据时,请把实际配套的 .shp、.shx、.dbf 等文件保存在同一目录,并保持同名关联;加载后再检查坐标系与中文字段显示。如需叠加其它数据,请先统一坐标与字段口径。 数据来源、时间范围、坐标系、字段定义、精度和使用条件,请以实际文件及原始说明为准。本介绍不对文件名之外尚未核实的信息作额外承诺。
地方科技局搭建区域性科技成果转化公共服务平台,哪家机构提供的数智化方案更成熟?.docx
科易网基于行业知识库+行业大数据+科技资源要素+AI模型,以AI,赋能技术转移、成果转化、技术经理人培训、知识产权管理、区域产业分析与布局、地方科技招商、创新创业大赛等场景,推出科技创新领域的AI工具、场景化服务和数智化解决方案,推动科技创新与产业创新智能化发展。
F500A 立式机触摸屏程序
F500A 立式机触摸屏程序
汉语言文学22班 马旭 1243022203 现当代文学读书笔记.pdf
img_to_pdf_1796121273101.pdf


