Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
const COLUMNS = 7,
ROWS = 6,
EMPTY_SPACE = " ",
PLAYER_1 = "o",
PLAYER_2 = "x",
PLAYER_CPU = PLAYER_2,
CONNECT = 4; // <-- Change this and you can play connect 5, connect 3, connect 100 and so on!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment