Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // works during the battle;
- // if you're in the "view" mode - hover over the active stack and use `window.mapzz` instead
- function printFieldCells() {
- var result = '';
- window.map.forEach((c, i) => {
- if (i % window.defxn === 0) {
- result += '\n'
- }
- result += String(c).padEnd(5);
- })
- return result;
- }
- console.log(printFieldCells())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement