Skip to content

lbenini/node-frotz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Node integration for frotz

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published