Ships and Torpedos have their own models extending off a generic Vessel object allowing for separation of ship/torpedo specific logic from general positional data.
Events that can be bound to, making the separation of world object management and communication through socket much nicer.
Almost everything is loaded up through RequireJS and therefore is AMD compliant, making the organization easier, and browser side including easier in the future.
Ships and Torpedos have their own models extending off a generic Vessel object allowing for separation of ship/torpedo specific logic from general positional data.
Events that can be bound to, making the separation of world object management and communication through socket much nicer.
Almost everything is loaded up through RequireJS and therefore is AMD compliant, making the organization easier, and browser side including easier in the future.
NOTE: You need to
npm install backbone underscore