0.5.0 • Published 8 years ago

node-frotz v0.5.0

Weekly downloads
4
License
GPL-3.0
Repository
github
Last release
8 years ago

node-frotz

Node integration for frotz

const frotz=require('node-frotz');
var dint = new frotz.DFrotzInterface('./ifroot/dfrotz','./ifroot/ZORK1.DAT',"./ifroot/zk1.sav",frotz.ZorkFilter);
dint.iteration("look",(error,gameoutput)=>{
    if(error)
    {
	console.log(error);
    }
    else
    {
	console.log(gameoutput);
    }
    process.exit(0);
});

Installation

This module requires the dfrotz binary. Please refer to https://github.com/DavidGriffith/frotz for instruction.

$ npm install node-frotz
0.5.0

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago

0.0.0

8 years ago