基 于 微 信 web 开 发 者 工 具 的 “ 消 消 块 ” 小 游 戏的 设 计 与 开 发Design and development of the “Eliminate Blocks” mini game based on WeChat web developer tools 内 容 摘 要随着现代生活、工作节奏不断地加快,人们也逐渐开始重视在闲暇时间怎么去放松和娱乐,手机游戏便是其中的一大分支。自智能手机面世后,各类休闲娱乐的游戏APP便层出不穷;但相比于传统的游戏APP,微信小游戏一方面可以减少用户下载的操作,大大增加易用性,做到一点即用;另一方面在微信小游戏开发方面相比传统游戏APP也能够做到低成本和易开发;此外,微信还拥有庞大的用户群体,能够较易地提高使用率以及获得良好的推广度。本文设计实现的是基于微信web 开发者工具的“消消块”小游戏,基于JavaScript + 微信小程序API 进行游戏相关功能的开发,编写游戏代码使用Visual Studio Code ,并且适当参考了HTML5 游戏设计与开发的相关代码逻辑、游戏原理与技术。微信小游戏“消消块”包括游戏主体、微信小游戏开放数据域、后台管理三个部分。游戏主体实现的是:登录页面、游玩页面、结束页面;微信小游戏开放数据域实现的功能是:玩家授权、存储玩家游戏信息、广东东软学院本科生毕业设计(论文)获取玩家游戏信息、分享玩家信息、玩家排行榜信息;后台管理展现的是:在微信小程序后台管理对小游戏进行相关设置。关键词:小游戏 消消块 JavaScript API Visual Studio CodeAbstractWith the continuous acceleration of the pace of modern life and work, people are gradually beginning to pay attention to how to relax and entertain in their leisure time. Mobile game is one of the branches. Since the advent of smartphones, all kinds of leisure and entertainment game apps have emerged endlessly; but compared to traditional game apps, on the one hand, WeChat mini games can reduce user download operations, greatly increasing the ease of use, and playing it with one click. On the other hand, compared with traditional game APPs, WeChat mini games can also be developed at low cost and easy to develop; in addition, WeChat also has a...