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

MU STU ID and FZU STU ID

20122543_832001317

Teammate's MU STU ID and FZU STU ID

20123566_832001316

Teammate's blog link


 

Teammate's MU STU ID and FZU STU ID

20123094_832001307

Teammate's blog link


 


PSP Form

Personal Software Process StagesEstimated time (minutes)Actual time spent (minutes)
Planning6075
Estimate55
Development10001260
Analysis3020
Design Spec----
Design Review----
Coding Standard2015
Design4060
Coding300650
Code Review1015
Test6080
Test Report1015
Size Measurement1010
Postmortem & Process Improvement Plan2045
Total15652250

Weekcode number(line)Cumulative code (lines)Study Time this week (hours)Cumulative learning events (hours)Important Growth
145645688Learn and master the use of wechat small program developer tools
27481204914Use development tools for back-end development and debugging code

Project Description

We use the wechat small program developer tool to develop and create the pie game. We have two game modes in the game: single player and multiplayer. In either game mode, the game will display six dice, six dice 🎲 display six randomly generated numbers, with the displayed number as the final result. At the same time, each result after the settlement will show the player's level of this round of cake and the prize. The multiplayer mode is the same as the single player mode, but allows up to four people to play together online.


Photos of Cooperation 


Main development content and key functions 

1. Background music:

We set up a function to control the background music on or off the state. At the same time, add the "button" button on the interface, so that the player can choose whether to turn on the background music. We also made background music loop through all the screens.

2. Realization of dice results :

We generate random numbers through random number functions. After the random number is generated, the "dicejudge" function is used to traverse the six random numbers, so as to judge the number of dice. And then let certain combinations of random numbers display the corresponding names.

3. Implementation of multiplayer mode:

In multiplayer, we have two -, three - and four-player rooms that can be played by multiple players simultaneously. And the multi-player mode program development is based on the single-player mode to further improve and improve the program.


Difficulties and solutions

In the process of development, difficult problems are unavoidable. In the multiplayer development, we wanted to allow players to customize the number of people in the game to play multiplayer. In the development of customizing the number of players in the same room, we ran into a problem that was not programatically possible, but after we looked at the relevant data, we solved the problem by setting the number of players in the room.

Reference Materials🔗:http://t.csdn.cn/PFQMyhttp://t.csdn.cn/PFQMy

组件生命周期 | 微信开放文档 (qq.com)https://developers.weixin.qq.com/miniprogram/dev/framework/custom-component/lifetimes.htmlhttp://t.csdn.cn/Lnm4Fhttp://t.csdn.cn/Lnm4F


Project Presentation Video

🔗:EE308 lab2-2 演示_哔哩哔哩_bilibiliEE308 lab2-2 演示, 视频播放量 2、弹幕量 0、点赞数 0、投硬币枚数 0、收藏人数 0、转发人数 0, 视频作者 中裕成咯, 作者简介 ,相关视频:科举考试中用老鼠胡须写成的小抄,一粒米能盖住六个字,在一片沉默之中,我听见了震耳欲聋的怒吼,如果能读硕士能读博士 就一定要一直读下去,95后,月薪8.6W,其实男人富起来也就两三年!,真该死,当我在简历上写了我完全精通“C++”,结果面试啪啪啪打脸,在b站无脑听歌赚钱,昨天收益525,0成本人人都能做!,体制内,周末的一天,高三从341-628,普高生拼命赢了,你也行!⚠️,考研!!别默写了!!!,23考研 | 最后四十天极限冲刺!https://www.bilibili.com/video/BV1Ev4y1m7Sw/?vd_source=488649f900589ebbc055ee8e1b4c409d


 Github link to 🔗

GitHub - 1053702092/EE308-LAB2-2 at masterContribute to 1053702092/EE308-LAB2-2 development by creating an account on GitHub.https://github.com/1053702092/EE308-LAB2-2/tree/master


 Summary

In this small program development, we not only learned a lot of programming knowledge, programming ability has been further improved; At the same time, we also have a further understanding of the wechat small program back-end development. Finally, with the joint efforts of my team members and I, we solved the problem and completed the challenge together. It was a really good try!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值