Skip to content

mitch3lljones/ruby-tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe

Table of Contents

Information

Here's a new game for you! Play tic-tac-toe straight from your console! All the files you will need to run this are in this repository, though it cannot be run as a gem. Information to run the files are in the instructions section. This program is built using Ruby v2.6.3p62. Lastly, this program can be run on repl.it. Just follow the following link!

Run on Repl.it

Status

At this time, the project is finished.

Instructions

To run this program, Ruby v2.6.3p62 (or a compatible version) will need to be installed. To check the version of ruby you are using, run this command in terminal:

ruby -v

If ruby is not installed, follow these instructions to install it. After ruby is installed, you should clone this repository to a place easily accessible to you using this command in terminal:

git clone https://github.com/fussykyloren/odin-project-tic-tac-toe.git

Your github username and password should be requested. If not, don't worry about it. After the repository is cloned, you will need to change the directory to where the game example is saved. To do this, run this command next:

cd [LOCATION_OF_CLONED_REPOSITORY]/example

Once the repository is cloned, you can run the game! To do this, run this command:

ruby example_game.rb

Have fun!