EE308FZ_LAB2-2
EE308_LAB2-2
- the PSP form of this operation
- Learning Progress Bar
- GitHub link
- a link to the video demonstration of software running
| 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 |
| My MU STU ID and FZU STU ID | 20123426_832001106 |
| Partner1 MU STU ID and FZU STU ID | 20124716_832001109 |
| Partner1 blog address of this assignment | https://bbs.csdn.net/topics/609240958 |
| Partner2 MU STU ID and FZU STU ID | 20124520_832001229 |
| Partner2 blog address of this assignment | https://bbs.csdn.net/topics/609330263 |
| GitHub link | https://github.com/ajia3/LAB2-2 |
| Video demo link | https://v.douyin.com/rY2QMqc/ |
Give what you think are the key or difficult functions and programming thinking, at least 2 points.
For the design of the whole program, we referred to the flow of some daily games, designed the main page, login page, menu, mode, results and a series of processes, and then began to design the details of the game.
The first difficulty we encountered was the dice in the game. The six dice had to be rolled randomly and judged automatically, and the result was displayed in the next screen.
This is the most important point of the whole mini-game. We set six global variables that correspond to the number of sides on the die from 1 to 6. After starting the game, calculate the result of each die and increment the variable by 1 for each point on the die. Finally, according to the final results of the six variables, the award can be inferred and displayed in the next interface.After we've solved the six-dice random result, we have another big problem: how to save data for three players in multiplayer mode. After consulting literature, we went to self-study "node.js" to create a small server to import data into the database.
Give a photo, including the paired classmates, work place, computer, and other items or scenes that can express the working experience of pair programming.

Pair programming experience.
In this experiment, we started to touch the front-end development software, designed the UI, learned to use Axure for some interactive operations, used JavaScript for programming, and ran on the VScode platform. I learned a lot from this cooperation. Teamwork is very important, because when a person's idea is not perfect, communication and discussion with teammates can often supplement the idea, which can bring better results. At the same time, in programming, the collision of the minds of many people can better check the code, so that the code is constantly improved. This experiment attaches great importance to pairing, allowing the whole team to participate in the development process and benefit from various aspects.
Give at least 3 events that take a long time in coding, arguing, reviewing, etc., and give you great gains.
For coding: A new challenge : JavaScript
We chose JS to write this program, because I have not learned it before, so I spent a lot of time in learning the code, and often the program runs wrong. The logical thinking is very confusing at the beginning, and then I become proficient with writing more.For reviewing: How to implement multiplayer mode
At first, because I do not know how to save the data and account password data, I plan to make a "do not need the Internet can also be carried out by a number of people and human machine" cookie game; Later, in the process of studying JS code, I learned some **[node.js] ,[MySQL]**and successfully established a database, which effectively saved the account password.For arguing: Dice animation change
At first, when we were thinking about dice and how to realize the number of dice corresponding to them, we designed static dice with animation of 360 degree rotation from the beginning to the end of dice casting. Then we found the animation material of dice to realize three-dimensional animation of dice casting. For random dice, we use the random function **[Math.random()6]* to ensure the randomness of the dice. Finally we match the random roll with the die: the die animation changes the corresponding die face as the roll of the die changes.

the PSP form of this operation
PSP and learning progress bar.
Record the PSP form of this operation, including the estimated time and actual time.
| PSP2.2 | Personal Software Process Stages | Estimated time(minutes) | actual time consuming(minutes) |
|---|---|---|---|
| Planning | 计划 | 10 | 20 |
| · Estimate | · Estimate how much time the task will take | 10 | 20 |
| Development | 开发 | 985 | 1170 |
| · Analysis | · Needs analysis (including learning new technologies) | 100 | 110 |
| · Design Spec | · Generating design documentation | 40 | 55 |
| · Design Review | · Design review (review design documents with partners) | 10 | 15 |
| · Coding Standard | · Code specifications (Develop appropriate specifications for current development) | 15 | 20 |
| · Design | · detailed design | 60 | 70 |
| · Coding | · specific coding | 480 | 600 |
| · Code Review | · code review | 100 | 100 |
| · Test | · Test (test yourself, modify code, commit changes) | 180 | 200 |
| Reporting | 报告 | 70 | 90 |
| · Test Report | · 测试报告 | 20 | 35 |
| · Size Measurement | · computational effort | 25 | 25 |
| · Postmortem & Process Improvement Plan | · Summarize afterwards and propose process improvement plan | 25 | 30 |
| total | total time | 1065 | 1280 |
Learning Progress Bar
| week | Added code (line) | Cumulative code (lines) | Study Time this week (hours) | Cumulative learning time (hours) | Important Growth |
|---|---|---|---|---|---|
| 1 | 500 | 500 | 12 | 9 | Analysis requirements, design program page |
| 2 | 600 | 1100 | 12 | 21 | Optimize the program and page, improve the multiplayer system |
GitHub link
Give GitHub link and commit record.
https://github.com/ajia3/LAB2-2
a link to the video demonstration of software running
Give a link to the video demonstration of software running.
https://v.douyin.com/rY2QMqc/
相关推荐
多个无人船分布式编队+围捕协同控制算法Mtalab程序
内容概要:本文档系统汇集了多个基于Matlab/Simulink平台的无人船分布式编队与协同围捕控制算法仿真程序,聚焦于多智能体系统的协同控制、路径跟踪与轨迹规划等核心技术。资源涵盖分布式编队控制、协同围捕策略、非线性模型预测控制(NMPC)、视线导引律(LOS)、反步法、滑模控制、自适应神经网络控制及智能优化算法在路径规划中的应用。所有代码均配备详细注释,部分源自顶级期刊论文的复现成果,兼具理论深度与工程实践价值,适用于复杂海洋环境下无人系统的建模、控制与仿真验证。; 适合人群:具备自动控制理论基础和Matlab编程能力的研究生、科研人员及从事无人系统、海洋工程、机器人控制等领域的工程技术人员;特别适合开展多智能体协同、路径跟踪、智能控制算法研究的相关学者。; 使用场景及目标:①支撑多无人船系统编队控制与协同围捕算法的设计与仿真验证;②服务于高校科研项目、学位论文中的仿真实验环节;③助力高水平学术论文的算法复现与对比分析;④作为自动化、船舶与海洋工程、智能机器人等专业的教学案例与课程设计参考资料。; 阅读建议:建议结合配套参考文献与说明文档系统学习,优先掌握LOS、NMPC、滑模控制等核心控制理论后再进行代码调试;可通过提供的网盘链接获取完整资源,推荐按模块分步实践,重点关注算法参数整定与仿真结果分析,以深化对多智能体协同机制与控制性能的理解与创新能力。
项目管理项目管理工具JIRA/禅道/TAPD工具配置规范:多平台统一工作流与字段标准设计
内容概要:本文档《项目管理工具配置清单规范参考》旨在统一软件项目在JIRA、禅道、TAPD三大主流项目管理工具中的配置标准与使用规范,涵盖项目创建、工作项类型、工作流、字段、权限、看板、迭代、报表等核心配置要素,并提供跨工具通用的管理口径和落地指引。文档详细规定了各类工作项(需求、任务、缺陷等)的定义、命名规范、状态流转流程及关联关系,强调数据可追溯性与过程可视化,同时制定统一的度量指标和报表体系,确保项目进度与质量可量化、可监控。附录部分提供了针对三种工具的具体配置要点和通用检查清单,便于快速实施与合规审查。; 适合人群:项目经理、产品负责人、开发与测试工程师、技术负责人及工具管理员,尤其适用于需在JIRA、禅道或TAPD中搭建标准化研发管理体系的团队成员;也适合外包及新入职人员作为上手指南。; 使用场景及目标:①在项目启动阶段快速完成项目管理工具的标准配置;②实现需求、任务、缺陷的全生命周期管理和高效协作;③通过统一的数据口径生成可靠报表,支持决策分析;④提升团队协作效率,保障研发过程透明可控; 阅读建议:建议结合实际选用的工具平台,按照附录中的配置清单逐项落实,并在项目初期组织培训宣贯。使用过程中应定期对照“通用配置检查清单”进行自查,结合迭代回顾持续优化配置,确保规范有效落地。
133-基于Arduino六足爬虫机器人设计(原理+程序+流程).rar
项目133-基于Arduino六足爬虫机器人设计(设计说明书+全套资料) 资料包括Proteus仿真+Keil程序+Altium Designer原理图+软件安装包+参考设计说明书+答辩PPT+设计流程图,保证资料完整性! 功能: (1)本爬虫机器人以Arduino Mega2560开发板为核心控制器,统筹步态与动作运算,保障六足机器人全地形移动逻辑稳定运行。 (2)采用HC-SR04超声波与MPU6050六轴姿态传感器组合采集,实时检测前方障碍物距离与机器人机身倾斜状态。 (3)使用0.96寸OLED液晶屏实时显示当前运行步态、障碍物测距值与机身姿态角度,界面信息清晰直观,数据刷新无延迟。 (4)配备18路SG90伺服舵机与有源蜂鸣器作为执行装置,驱动六足完成直行、转向、爬坡动作,状态切换时触发操作反馈提示。 (5)内置独立按键支持多种步态模式切换与运动参数自定义调试,电路结构易复现,适配仿生移动机器人类毕设开发需求。
西汉AD3年世界历史地图矢量文件SHP格式.zip
本资源为《西汉AD3年世界历史地图矢量文件SHP格式》压缩包,文件大小约 28.48 MB,便于集中下载、整理和使用。具体内容请结合压缩包内的实际文件与说明查看。 在当前可读取的目录中,可见JSON 文件、属性表(.dbf)、投影说明文件(.prj)、Shapefile 主文件(.shp)、Shapefile 索引(.shx)。建议解压后保持原有目录结构,先浏览文件清单与说明,再选择需要的资料进行加载或整理。 应用方面,可根据实际资料用于学习练习、资料检索、研究整理或项目参考。使用时可先确定所需内容,建立清晰的文件分类,再按项目要求进行筛选、转换与汇总。 使用 Shapefile 数据时,请把实际配套的 .shp、.shx、.dbf 等文件保存在同一目录,并保持同名关联;加载后再检查坐标系与中文字段显示。如需叠加其它数据,请先统一坐标与字段口径。 数据来源、时间范围、坐标系、字段定义、精度和使用条件,请以实际文件及原始说明为准。本介绍不对文件名之外尚未核实的信息作额外承诺。
数据库基于Oracle MERGE语句的按年重置流水号生成方案:HIS系统业务单号分组种子表设计
内容概要:本文介绍了一种在Oracle数据库中实现按年份重置的业务流水号的生产级解决方案,适用于如HIS系统中的门诊号、申请单号等场景。针对原生Sequence无法支持年度自动重置的问题,提出采用“分组种子表 + MERGE语句”方案,通过创建以业务标识(BMC)和年份(YR)为联合主键的计数器表,利用MERGE原子操作实现存在则累加、不存在则初始化的逻辑,并结合RETURNING子句返回最新序号,确保高并发下的安全性与一致性。支持批量预取、预先展示单号、跨年自动重置等功能,且可通过修改字段长度扩展为按月重置或更大序号范围。; 适合人群:从事医疗信息系统(HIS)、门诊、收费等相关系统的数据库开发与后端研发人员,具备一定Oracle SQL和事务处理经验的工程师; 使用场景及目标:① 实现如20260001、20270001类流水号,跨年自动从1开始;② 满足高并发场景下不重号、不跳号、预生成单号展示的需求;③ 构建稳定、可运维、可迁移的号段分配机制; 阅读建议:重点关注MERGE语句的原子性设计、事务隔离、数据库时间统一等避坑要点,建议结合C#封装示例理解实际调用方式,并注意后缀位数预留和独立事务执行取号逻辑,避免号段浪费或并发冲突。


