Journal of Jishou University(Natural Sciences Edition)

• Computer • Previous Articles     Next Articles

Design of Web I-go Game Software Based on WebSocket

DING Zhenfan   

  1. (School of Information Engineering,East China Jiao Tong University,Nanchang 330013,China)
  • Online:2017-07-25 Published:2017-08-01


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

WeChat e-book chaoxing Mobile QQ