Skip to content

Instantly share code, notes, and snippets.

@Raagh
Created April 14, 2020 18:23
Show Gist options
  • Save Raagh/84d93f2cd6f1311bc86575d8bd4103e6 to your computer and use it in GitHub Desktop.
Save Raagh/84d93f2cd6f1311bc86575d8bd4103e6 to your computer and use it in GitHub Desktop.
Functional Snake Game - Part 2 - displayWorld
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