JSFiddle - React, Tailwind, and code Playground
by godfrzero
JavaScript
const FENCE = '|';
let input = 'E\nE\nE\nS\nx',
cases = {
N: ,
E: ,
S: ,
W:
},
cursor: { x: 0, y: 0 };
input.split(\s);
window.parent.console.log(input);