五子棋游戏是电脑游戏发展史中早期最为经典的游戏之一,无论是在电脑端、移动端、还是游戏机上,都能见到与飞机相关的射击类游戏。不过,最初常见的五子棋游戏是二维平面上的,并且大多以黑白的形式出现,而如今,在电脑上,不仅机型多,而且五颜六色。Java自面世后就非常流行,发展迅速,对C++语言形成了有力冲击,Java技术具有更好的安全性。
因此,本论文主要阐述以面向对象的程序开发语言Java及微信小程序开发工具的实现的五子棋游戏。本游戏通过微信web开发者工具平台开发环境及环境搭建,本五子棋游戏主要可以实现人机双放对战,实现先排列5科为赢,也可以选择难度和悔棋等功能。本设计是一个基于微信小程序的五子棋游戏应用程序采用C/S模式,从需求分析到系统的设计、实现、调试,最终实现实现了五子棋游戏的功能。并经过严格的测试,可以在手机上正常使用。
关键词:C/S;微信小程序;五子棋;游戏; Java
Abstract
Gobang game is one of the most classic games in the early development history of computer games. Shooting games related to airplanes can be seen on the computer, mobile terminal and game console. However, at first, the common Gobang games were two-dimensional, and mostly appeared in black and white. Now, on computers, there are not only many models, but also many colors. Since the advent of Java, it has been very popular and developed rapidly, which has a strong impact on C + + language. Java technology has better security
Therefore, this paper mainly expounds the Gobang game based on the object-oriented programming language Java and wechat small program development tools. The game through wechat web developer tool platform development environment and environment construction, the Gobang game can mainly realize the man-machine double play, to achieve the first five Division to win, also can choose the difficulty and regret chess and other functions. This design is a Gobang game application based on wechat small program, which adopts C / S mode, from demand analysis to system design, implementation, debugging, and finally realizes the function of Gobang game. After strict testing, it can be used normally on mobile phones
Key words: C / S; Wechat applet; Gobang; game; Java