Skip to content

Basic ruby connect four game for playing with friends

License

Notifications You must be signed in to change notification settings

roberts1y/connect-four

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Connect Four Game

Basic ruby connect four game for playing with friends.

How to play (Using VSCode)

To run this Ruby program in VSCode, you'll need to follow these steps:

  1. Open the connect-four repository in VSCode. You can do this by opening VSCode, selecting "File" > "Open Folder" from the top menu bar, and then selecting the connect-four folder from your computer.

  2. Install the Ruby extension for VSCode if you haven't already. You can do this by opening the Extensions panel on the left-hand side of the editor, searching for "Ruby", and then installing the extension.

  3. Make sure that Ruby is installed on your computer. If you haven't installed it yet, you can download it from the official Ruby website

  4. Once you have Ruby installed, you can run your program from the terminal. To do this, open a new terminal window in VSCode by selecting "Terminal" > "New Terminal" from the top menu bar.

  5. In the terminal you opened inside of you connect-four forked repository, run the program using the ruby command followed by the name of the file. In this case, it you would run the following command:

ruby four.rb
  1. Your program should now run and prompt you to select the column for your first move. You will alternate between yourself, and another player of your choosing!

Have fun! Let me know if you have any further questions.

About

Basic ruby connect four game for playing with friends

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages