摘 要五子棋起源于中国,是我国古代黑白棋种之一,据考究,五子棋的出现时间早于围棋,是一种上手简单但却内藏玄机的游戏。五子棋不但能够锻炼人的思维能力,和逻辑能力,而且我们通过下棋能领悟人生哲理。五子棋文化渊源流长,博大精深,经过几千年的传播,结合中西方文化,不仅活跃在国际比赛,更是各个年龄段都喜欢的大众游戏。随着互联网的发展,方便,快捷已经成为了时代的主题,传统五子棋方式已经不能满足广大用户的需求,网络五子棋应运而生。本设计的实现采用 B-S 结构,以Spring-SpringMVC-MyBatis 框架为主体,结合 Websocket 技术,实现了人机对战,网络双人对战两种游戏模式,人机对战侧重于 AI 算法,而双人对战侧重于网络通信。关键词:五子棋;SSM;WebsocketAbstractGoBang originated in China and is one of the ancient black and white chess species in China. According to the study, the appearance of GoBang is earlier than Go, which is a simple but hidden game.GoBang can not only train people's thinking ability, but also logical ability, and we can understand life philosophy by playing chess. The culture of GoBang has a long history and is profound and profound. After thousands of years of communication, combined with Chinese and Western culture, it is not only active in international competitions, but also popular games of all ages.With the development of the Internet, convenience and speed have become the theme of the times. The traditional GoBang method can no longer meet the needs of the majority of users, and the network GoBang came into being. The implementation of this design adopts the B-S structure, with the Spring-SpringMVC-MyBatis framework as the main body, combined with Websocket technology, realizes the human-machine battle, the network double-play game mode, the man-machine battle focuses on the AI algorithm, and the double-player focuses on network communication.Keywords: GoBang; SSM; Websocket目录第一章...