virtual-world-framework/mars-game — pull request #349 by AmbientOSX (2014-08-20 16:46:52+00:00)
Title: Instrumentation First Look

@kadst43 @BrettASwift So this is just a first look at instrumentation as I've currently implemented it. We would be attaching to the events we want to listen to... probably worth removing some excess code related to the broadcast methods though I felt like maybe we'd want to log certain things in different places? It is also worth noting that VWF supports saving user sessions so I could also add support for a game save/load functionality remotely (or locally to the game server) with relative ease. (See https://virtual.wf/documentation.html#persistence) The only thing missing from this implementation is a way to input the playerID (eventual student identifier "orange-1" etc). Figured maybe this could be a text field on the game start menu? Anyway - give me your thoughts on what needs changing.