Skip to content

Dbz/Tic-Tac-Toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

Tic Tac Toe was created to help me learn Ruby

Ruby

The Ruby Files are played in terminal:

  • Tic Tac Toe.rb is two player
  • Tic Tac Toe AI.rb is against the computer

The AI will always win or draw. It follows the move order found on wikipedia:

  1. Win
  2. Block Win
  3. Fork
  4. Block Fork
  5. Play Center
  6. Play Opposite Corner
  7. Play Empty Corner
  8. Play Empty Side

Web App

The Web App is a two player Javascript version with a simple UI

Play Online: http://dbz.github.io/Tic-Tac-Toe/

About

Tic Tac Toe, Two Player and AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published