Skip to content

Instantly share code, notes, and snippets.

Oksana Melnik oksmelnik

  • Amsterdam
Block or report user

Report or block oksmelnik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@oksmelnik
oksmelnik / tictac.js
Last active Jun 9, 2019
Terminal based TicTacToe game built with Node.js
View tictac.js
const playingField = [' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ', ' ']
printInstruction()
nextMove('X')
function printInstruction() {
process.stdout.write('Cell\'s numbers:\n')
printRow(1, 2, 3)
printLine()
printRow(4, 5, 6)
You can’t perform that action at this time.