Skip to content

Condensed REPL version of the board game Connect Four that runs in the terminal.

Notifications You must be signed in to change notification settings

andrewetobin/connect_four

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Background

Connect Four is a classic board game where players take turns trying to create a line of four of their own pieces without being blocked by their opponent. The game ends when one of the two players successfully lines up four of their pieces horizontally, vertically, or diagonally and wins, or in a draw if the 7-column, 6-row grid is filled without either player successfully connecting four.

For more information see the wikipedia page.

Play the Game :)

Clone this repo: git@github.com:andrewetobin/connect_four.git

CD into project, from root run: gem install colorize

Play game: ruby ./lib/connect_four.rb

About

Condensed REPL version of the board game Connect Four that runs in the terminal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages