Skip to content

lisahamm/ruby_ttt_console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TicTacToe

Console Tic Tac Toe game built around a Ruby Tic Tac Toe gem.

Installation

Clone the git repository

$ git clone https://github.com/lisahamm/ruby_ttt_console.git

Then cd into the directory

$ cd ruby_ttt_console

Install dependencies

$ bundle install

Run game!

$ ./bin/tic_tac_toe

Usage

The game is setup for two human players or one human player and an unbeatable computer player. The human player can pick its mark ('X' or 'O') and its turn order (first or second). Human players must enter a number 1-9 to mark the corresponding cell:

+- - - - - -+
| 1 | 2 | 3 |
+- - - - - -+
| 4 | 5 | 6 |
+- - - - - -+
| 7 | 8 | 9 |
+- - - - - -+

About

Console tic tac toe game built using ruby_ttt gem

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages