Created
April 14, 2020 18:23
-
-
Save Raagh/84d93f2cd6f1311bc86575d8bd4103e6 to your computer and use it in GitHub Desktop.
Functional Snake Game - Part 2 - displayWorld
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const displayWorld = matrix => { | |
console.clear() | |
console.log(intercalate("\r\n", r.map(intercalate(" "), matrix))) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment