Journal of Jishou University(Natural Sciences Edition)
• Computer • Previous Articles Next Articles
DING Zhenfan
Online:
Published:
Abstract:
For I-go game software design,the technology is described for real-time application of HTML5 and Spring4 framework.WebSocket is used for the message communication between the client browser and the Web server,and the HTML5 Canva is used for drawing the chess board.With the establishment of SockJS connection and STOMP protocol communication,two-way message transmission based on publishing / subscribing mode is used.For the interactions involved in table choosing and game playing,the message topic designing,message sending and displaying methods are discussed.This research has great reference value for the design of real time Web application.
Key words: HTML5, Spring4, I-go play, WebSocket, canvas, SockJS
DING Zhenfan. Design of Web I-go Game Software Based on WebSocket[J]. Journal of Jishou University(Natural Sciences Edition), DOI: 10.3969/j.cnki.jdxb.2017.04.006.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: https://zkxb.jsu.edu.cn/EN/10.3969/j.cnki.jdxb.2017.04.006
https://zkxb.jsu.edu.cn/EN/Y2017/V38/I4/27
[1] 李慧云,何震苇,李丽,等.HTML5 技术与应用模式研究[J].电信科学,2012,5:24-29. [2] 周东仿,孟宁.基于WebSocket 的网络设备自发现机制[J].计算机工程与设计,2013,32(2):392-396. [3] 李冀晖,贺德强,苗剑.WebSocket技术在机车故障诊断系统中的应用[J].广西大学学报:自然科学版,2012,37(5):948-952. [4] 丁振凡,王小明,邓建明,等.基于Web的货车检修工序监测系统的研制[J].华东交通大学学报,2012,29(5):44-49. [5] 丁振凡.用Spring MVC实现数据分页显示处理[J].智能计算机与应用,2012,2(5):20-22. [6] 丁振凡.Spring3.x编程技术与应用[M].北京:北京邮电大学出版社,2013. [7] 丁振凡.基于 Spring4+HTML5的实时监控应用通信与显示处理[J].吉首大学大学学报(自然科学版),2015,36(4):18-22. [8] 冯科融,王和兴,连加美,等.基于HTML5的3D多人网页游戏实现方案[J].微型机与应用,2013,30(1):4-6.