Skip to content

Game Code Structure

Ryex edited this page Mar 10, 2013 · 9 revisions

This browser game will be mainly coded using JavaScript and HTML5 canvas. HTML5 canvas will be used for the graphics and JavaScript to handle the main game engine. a JSON AJAX API for data management and a Node.js Websocker server connection for pushing data to clients.

###Detailed Structure

The game will be divided into two main code structures. the client side JavaScript, and the server side which will be in Ruby on the Rails framework with a websocket Node.js server.

Proposed Structure

Clone this wiki locally