EE308_Lab2-2

盾子192 盾子192 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区

EE308_Lab2-2

The Link Your Classhttps://bbs.csdn.net/forums/MUEE308FZU202201
The Link of Requirement of This Assignmenthttps://bbs.csdn.net/topics/608859318
The Aim of This AssignmentSpecify information statistics on file
MU STU ID and FZU STU ID20124287 832002122
Teammate's MU STU ID and FZU STU ID20124066 832002123
Teammate's blog linkhttps://bbs.csdn.net/topics/609330771
GitHub linkhttps://github.com/BlueP0118/EE308_Lab2-2/tree/6b74bb3108fe26b4823c3a39a33d5adc6843ad45
Video demo linkhttps://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:

  1. 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]);
                                        }
                                    });

  1. 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

img

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

  1. Code

We chose the more convenient Android studio to complete this project, but we are not familiar with Java and xml format interface design

  1. 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

  1. 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.1Personal Software Process Stages预估耗时(分钟)实际耗时(分钟)
Planning计划3030
Estimate估计这个任务需要多少时间3030
Development开发400420
Analysis需求分析 (包括学习新技术)4030
Design Spec生成设计文档3030
Design Review设计复审 (和同事审核设计文档)4040
Coding Standard代码规范 (为目前的开发制定合适的规范)3020
Design设计6030
Coding编码400500
Code Review代码复审10080
Test单元格200160
Reporting报告6050
Test Report测试报告3040
Size Measurement计算工作量3040
Postmortem & Process Improvement Plan事后总结3030
合计-----15101520

Learning Progress Bar

WeekCode numberCumulative Code numberStudy time this weekCumulative learning eventsImportant Growth
15005001010Achieve the basic functions of Bobing
24009001020Achieve 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工具、场景化服务和数智化解决方案,推动科技创新与产业创新智能化发展。

BIZKEEN

F500A 立式机触摸屏程序

F500A 立式机触摸屏程序

czhaii

汉语言文学22班 马旭 1243022203 现当代文学读书笔记.pdf

img_to_pdf_1796121273101.pdf

AAA-妙脆角批发
评论
收藏 已收藏
分享
返回顶部