Skip to content

Instantly share code, notes, and snippets.

View exitcas's full-sized avatar
🖼️
Cooking in other places

Lucas exitcas

🖼️
Cooking in other places
View GitHub Profile
let chalk = require("chalk");
let prompt = require("prompt-sync")();
let board = [
[" ", " ", " "],
[" ", " ", " "],
[" ", " ", " "]
];
let player = true, marker, icon, win = false;
function promptplayer() {