Skip to content

A simple terminal-based computer game (implementation of Connect4) with a stochastic computer opponent

Notifications You must be signed in to change notification settings

grohalex/ComputerPlayer_Connect4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This a terminal based computer game written in Ruby. You just need to run the file "connect4_run.rb" in the terminal by writing 'ruby connect4_run.rb'.

The aim is to connect 4 tokens in a row/column or diagonally. You play against a computer opponent. Choose a column where you want to place your token,by typing a number 1-7 and hit enter your token will fall to the appropriate place.

Now, try to beat the computer.

About

A simple terminal-based computer game (implementation of Connect4) with a stochastic computer opponent

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages