Lo-fi adventure gaming in javascript