macOS ◆ xterm-256color ◆ zsh 794 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 Todo 01:17

by ronilan

Impossible Flappy 00:51

by ronilan featured

Impossible Snaky 01:33

by ronilan

Impossible Editor 01:22

by ronilan

See all