impossible-tic-tac-toe
v0.0.7
Published
A terminal based, human vs. machine, game of Tic-Tac-Toe (and tech interview question) built using Impossible.js while following the Impossible tutorial.
Downloads
13
Maintainers
Readme
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