Skip to content

mnewsome/TicTacToe_ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToe

This is a fun game to play

Start by cloning the repo.

Then, to run the game, cd into the root directory and type:

ruby lib/run.rb

Playing the game.

Upon executing the above command, you will be prompted to enter in your game play preferences. Simply enter in the requested information at each prompt and press [Enter].

Special note for Single Player games

Occasionally, the computer will take several seconds to make a move. When you see the following:

I'm thinking of a move. One moment please...

simply wait unti the board appears again with the computer player's choice and you are prompted to make your move.

Thanks for playing! Enjoy!

About

Unbeatable TicTacToe in Ruby using minimax algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages