Connect Four is a text-based Console game written in C#. Like the classic board game, two players battle against each other to try to get four game pieces in a row. Combinations can be made either diagonally, vertically, or horizontally. The first person to do so wins the game.
Connect Four consists of the following features:
Connect Four was made for the Computer Science and Information Systems course 2410 (Advanced Programming) at Salt Lake Community College. It was made for the assignment titled "A04 Connect Four", where the purpose was to show we could write a C# application using multi-dimensional arrays, mathematic algorthims, and separation of functionality and display (output). It features customizable player attributes, visible interface changes (you can see the game piece drop in the correct column), and an in-place user interface (no scrolling in the Console Window).
Although the project requirements were not specifically designed for it, we chose to work on this as a team assignment, which allowed us the ability to work on collaboration and communication skills, responsiveness, and time management to complete the project on time.
While this game does not offer much more than the classic board game experience, it's definitely worth playing simply for the enjoyment of beating your friends at a good 'ol fashioned game of Connect Four!
Coming Soon...
Connect Four is a purely text-based application. This means that there is no "pointing and clicking", you will interact with the program entirely with your keyboard by typing in what you want to do.
So, when you first launch the application, you will be presented with a menu, asking you to enter your name. Once you do so and press enter, you then will be asked to select your player color. After selecting your color, the game will begin, and is played like an ordinary Connect Four game, where you must get four game pieces in a row to win (either diagonally, vertically, or horizontally). This is done by dropping the game piece into one of the 7 columns. You will select which column you wish to drop the game piece in by typing the number corresponding to the column when prompted, and then pressing Enter. The program will then process your request and drop it in the column - depending on what you selected of course.
Play continues until one of the players gets 4 game pieces in a row, or until all the slots in the board have been filled, at which point it is a tie game.
Connect Four is a fairly simple game, but can sometimes require a bit of strategy. This is because it is somewhat like checkers or chess, where you have to try to anticipate your opponent's moves so you can plan ahead. For example, if you can get it to a point where you have two possibilities to win in the next round, then it doesn't matter where your opponent places their next game piece, as you have two places where you can win the game. Therefore it is a guaranteed win for you.
Conversely, you should make sure you do not give your opponent the same opportunity. This can be done by making sure you prevent those scenarios when possible.
When not playing with friends, try playing against yourself a few times by playing as both Player 1 and Player 2. This can help you work out strategies to ensure your victory when you do play with an opponent next!
Because this is a console application, when it opens the Command Prompt window, you might find that the text is a bit small for your liking. We personally like to play with larger font sizes and recommend that you consider changing your console font size, too. To do this, you can take the following steps (we've also included a screenshot below):
Before downloading, it is recommended you review the How To Play tab, which explains how to play Connect Four. System Requirements and Installation Instructions can be found below.
This is the latest and recommended version of Connect Four.
Version | File Size | Date Published | Changelog |
---|---|---|---|
1.0.0 | 148 KB | March 30, 2019 |
In order to play Connect Four, you will need the following system specifications.
Take the following steps to install Connect Four on your computer: