Skip to content

Instantly share code, notes, and snippets.

View KGZM's full-sized avatar

KGZM

  • We Have The Web LLC
  • Brooklyn
View GitHub Profile
@KGZM
KGZM / print.js
Last active December 5, 2015 03:06 — forked from anonymous/print.js
var PDFDocument = require('pdfkit');
var fs=require('fs');
var process = require('process')
var captureText = function(cb) {
var text = ""
process.stdin.on('readable', () => {
chunk = process.stdin.read();
if(chunk) text = text + chunk;
});
/*
* robotNav.js
*
* The green key is located in a slightly more
* complicated room. You'll need to get the robot
* past these obstacles.
*/
function startLevel(map) {
// Hint: you can press R or 5 to "rest" and not move the