zorkmid

1.0.2 • Public • Published

zorkmid

by Elvin Yung

Botstrap plugin for playing Zork from Slack.

Kinda hacky. The core of the plugin basically spawns child processes running expect, which spawns a child process running zork1, and then does a bunch of string manipulation to remove all the ANSI escape codes and extraneous spaces from stdout.

Instructions

Install Zork. (I got it from here, for OSX.)

Sample bot using zorkmid:

var botstrap = require('botstrap');
 
var config = getConfigSomehow();
botstrap.createBot(config);
 
botstrap.command('zork', require('zorkmid'));

Readme

Keywords

Package Sidebar

Install

npm i zorkmid

Weekly Downloads

29

Version

1.0.2

License

MIT

Last publish

Collaborators

  • elvinyung