Skip to content

rhoit/ttt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tic-tac-toe-puzzle

Bash implementation of classic tic-tac-toe with basic ai.

https://upload.wikimedia.org/wikipedia/commons/thumb/3/32/Tic_tac_toe.svg/270px-Tic_tac_toe.svg.png

Installation

Manual

Download the latest verion from zip or tar clone the repo.

RequirementType
bashdepends
ASCII-boarddepends
figletoptional
$ cd path-to-ttt
$ ./configure
$ sudo make install

Playing

$ ttt

use mouse to play.

play infinity and beyond

while ttt; do; echo "retrying again... LETS GO INSANE"; done

To exit the loop supend the process using Ctrl + z, then fg and Ctrl + c. Will help you to beat AI.

Optimal Play

http://imgs.xkcd.com/comics/tic_tac_toe.png

source: http://xkcd.com/832/

About

tic-tac-toe bash implimentation

Resources

License

Stars

Watchers

Forks

Packages

No packages published