Skip to content

mitch3lljones/ruby-connect-four

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect Four in Ruby

Table of Contents

Information

Here's a new game for you! Play Connect Four straight from your console! All the files you will need to run this are in this repository with the instructions in the instructions section. This program is built using Ruby v2.6.3p62. Lastly, you can run the game on repl.it! Just click below.

Run on Repl.it

Status

At this time, the project is finished.

Instructions

To run these programs, 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/ruby-linked-list.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 to use the fibonacci programs, run this command next:

cd [LOCATION_OF_CLONED_REPOSITORY]/ruby-linked-list

Once the repository is cloned, you can run the programs. To do this, run this command:

ruby test.rb

You can modify the test.rb file to add new nodes and edit the list.