macOS ◆ xterm-256color ◆ zsh 639 views

Impossible Tic-Tac-Toe

A terminal based, human vs. machine, game of Tic-Tac-Toe (and tech interview question) built using Impossible.js while following the Impossible tutorial.

Installing

Open terminal and run npm install -g impossible-tic-tac-toe.

Playing

Just type tic-tac-toe

There are three levels ‘Easy’, ‘Reasonable’ and ‘Impossible’. Down arrow and enter to start. Numbers to play. Space to restart. At the Impossible level, the only winning move is not to play. Use ctrl c to exit.

IRL

If you ever find yourself in an interview situation, and someone asks you to build a terminal based game of Tic-Tac-Toe, just do npm install impossible-tic-tac-toe and you are good to go 🏂.

Authors

(c) Ron Ilan

Fabriqué au Canada : Made in Canada 🇨🇦

More by ronilan

Impossible Snaky 01:33

by ronilan

Impossible Color Picker 00:37

by ronilan

Impossible Breakout 00:34

by ronilan

See all