Skip to content

AprilMD/TicTacToe2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToe Game

Using the discipline of TDD, build a game of tic tac toe:

Rules

  • The game is played on a 3x3 grid.
  • Player 1 is X and player 2 is O. Players take turns putting their marks in empty squares.
  • The first player to get 3 of their marks in a row is the winner.
  • If all 9 squares are full and no player has 3 marks in a row, the game is over with a tie.

Set up rspec in terminal after cloning:

To setup rspec, enter the following in the terminal: bundle install --path vendor/bundle

## Playing the game:

To play the game, run the play_game.rb file or type ruby play_game.rb at the project root

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages