ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Games, Toys, and Hobbies»
  • Board Games

Winning Strategies for Connect 4 or Four in a Line Games

Updated on November 14, 2016
janderson99 profile image

John uses research skills (Ph D) & 30 years as CEO, manager to develop reviews for time management, productivity, staff relations, business

Connect 4 - Simple to Play, Hard to Develop a Program to Play It

I remember playing Connect 4 with my 3-year old son was extremely annoying as he was so hard to beat, even without cheating!

He is now a teenager and has an assignment to devise an online program for playing Connect 4.

Well now is the time for an update and to learn some strategies and tactics that will help you win this fascinating game. Also it is interesting to learn about how people have developed programs to play this game against a computer so that it always wins.

Connect Four (which is also known as Plot Four, Four in a Line, Four Up, Find Four and Four in a Row) is a game for two players in which the first players select a color (usually red) and then players take turns adding their color-coded discs from the top into one of a seven-stack, six-row grid that is vertically suspended (see the image). The disc-shaped pieces drop directly down, filling the next accessible space inside the column.

The aim of the game is to get four of your own colored disks in a line either horizontally, vertically or diagonally before your adversary can manage to get-4-inline. If neither contestant has managed to get four-in-line before the grid is completely fill the game is drawn. The game begins with an empty grid and red normally starts first. There is a major advantage to starting first and so players toss for who is to start and take turns thereafter.

Connect 4 - The solution

The solution to the game was explained mathematically and a computer solution devised by James D. Allen on 1 October 1988, and completely separartely by Victor Allis on 16 October 1988. These programs devised from these algorithms are so good that a computer can force a win every time if it starts the middle column. It can also win most games when it starts second. These solutions are quite complex and James Allen did his Masters Degree on the problem

There are a diverse range of websites where you can play Connect 4 online or you can download software to run the game for your computer. You can also buy the game at you local toys store.

The first one listed below is the best - you can play another human or a computer, and even watch your computer play itself - the first player (computer) always wins. Follow the instruction on the page to select your language. Both this one and the next one are very annoying because if the computer starts first – it always wins! The other programs allow you to set a level so you have a chance. There are many more available.

Online Connect 4 Games and Demonstrations

Online Game
Mustrum - download/play Select option menu for language
Connect Four Playground - wins every time
Connect 4 Online #
Agame Online Version
n-in a row (expanded version)
++ lots more

Connect 4 - Strategy

Some of the common strategies used when playing connect-four with humans are discussed below

Always start in the middle. If you start first, always start in the middle. It is always the best strategy and it will give you more wins. If you go second, then add your disk directly on top of the centre disk if you opponent plays there or to either of the two columns directly beside centre primarily for defence. Playing on top of your opponent or beside his/her disk is best otherwise your opponent has a chance build either a two-in-a-row diagonal, or a two-in-a-row horizontal which gives them an advantage.

The centre area is obviously where most of the winning combinations are found because there are more chances of building winning 4-in-a-row lines. As a result, the middle squares are more valuable. The diagram below shows the number of winning groups (sets of buttons in a row) that each square offers.

Surround to conquer your opponent. If your opponent is building in the centre or building a core group, move to cover his/her winning moves by adding blocking disks on top of him. However be observant and stop our opponent building horizontal three-in-a-row sequences. Try to stay on the offensive if you can, but defend when necessary.

Always look out for force wins or force losses. Look out for your opponent trying to make a three-in-a-row diagonal directly linked to a three-in-a-row horizontal, which is a winning combination. This is an excellent strategy as it forces you to block one winning space, only to lose on the next turn. Think well ahead on each of your turns and see how you can reverse the position.

Forced moves can often give you a winning position. Building 3-in-a-row vertically will seldom not be seen by your opponent. They will have no option but to block it, or else they will lose. This means that they will effectively lose a chance to build a winning position by blocking you. But you will have 3 of your pieces all stacked together, which can be readily built next to, and you will now have many ways to branch out. You opponent will face a difficult job blocking off all your paths as a result, and this puts you in a good position for a win.

Try to kill off columns when you are behind. Often when you start second you will feel like you are always defending. To make things easier, try getting a 3-in-a-row combination in either the 6th or 2nd columns. You will reduce he options and may disrupt your opponent's strategy. If they try to stop you from blocking column, they will waste moves and give you to go on the offensive.

When your get a chance count the spots left on the board. Towards the end of the game, hen you get a chance, count the spots to see who is going to go where when you have to place disks in dead columns. Counting the spots will help you see if you are going to block your chances or will give your opponent an easy win. If you count remaining spots, and see that you are going to win, play defensive and work on using the dead columns to get a chance to win.

© janderson99-HubPages


Submit a Comment

  • Kimberly Vaughn profile image

    Kimberly Vaughn 5 years ago from Midwest

    Great suggestions! My son and I play Connect 4 3D. He usually kicks my butt. I will have to try these!

  • profile image

    Nick 6 years ago

    I've been playing Connect 4 for the last three years by practicing on Mustrum. It plays a perfect game and always wins when it starts first. Out of the other sites only connect 4 playground plays perfectly. I am at a level that when I start first against these programs i win 90-95% of the time. And yes, the player who starts first always wins provided the player plays perfectly which is not easy. The first player always controls the first, third and fifth rows while the second player controls the second, fourth and sixth rows.

    Think about it...

  • profile image

    ace 6 years ago

    these r nt tricks.. tis z hw u play.. i wanted to knw sum tricks..

  • profile image

    ace 6 years ago

    these tricks we already use.. & yeah 1st turn z a big advantage.. me & my bro. alwaz fight on who z playin' 1st

  • profile image

    Arthific 6 years ago

    well, everyone here that states that going first isn't especially better, well, that's not true actually:

    Victor Allis studied connect four for his master's thesis, and he proved that the one that begins, (if he plays in the middle square) ALWAYS wins, whatever the opponent does. For interested readers, look for his scription online, shouldn't be hard to find!

  • profile image

    Nikita 6 years ago

    My grandmother is beating me at this sometimes I get a little mad but we laugh and bake browines.

    P.S. They were very good.

  • profile image

    Hoot 6 years ago

    I'm 24 and I play this game with my son and we almost always end up in a draw. These tips might make beat him thanks..............:- )(-::-)(-::-)(-::-)(-::-)

  • profile image

    hey 6 years ago

    None of these are 100%.

    They can be beaten at some strats even when they go first. I'd say they are 90%

  • profile image

    lahiru 6 years ago

    goinG first has more opportunities to win the match

  • itsmonkeyboy profile image

    itsmonkeyboy 6 years ago from London, UK

    Haha, I am going to have to keep this hub away from our boy as I tend to have a habit of beating him!

  • profile image

    Bib 6 years ago

    The computer always wins when I play on expert. Help

  • profile image

    John allen 6 years ago


  • profile image

    Michael 6 years ago

    i find it best to use the pyramid strategy

  • profile image

    tracey1978 6 years ago

    hi, i played this game when i was a kid, so when i play this game with my kids laugh when i win, but when they win they laugh at me. It's also a great game and a easy game to learn your kids.

  • profile image

    Cribbages 7 years ago

    thank, it was interesting.

  • profile image

    Cribbage 7 years ago

    Wow, I like it.

  • profile image

    Rob Crane 7 years ago

    This idea that going first is good seems to be erroneous. The best "expert" computer (Fantastic 4 in a Row) that I have found never loses going second but can be beaten with careful play if it goes first. Because of the even number of squares one can force the player going first to drop a stone in an empty column and win the game.

  • profile image

    jrol 7 years ago

    i dont think going first means your always going to win and going in the middle i start second and play my first disk next to the middle and i get the same results as playing in the middle.i think it depends on what sort of player you are playing but good advice for first timers

  • profile image

    Stephen Walker 7 years ago

    Great game. Just respond to what your opponent does to make sure they don't win and wait for a mistake from them to win.

  • profile image

    latrell lugtu 7 years ago

    i love this game

  • profile image

    bob 7 years ago

    going second has some advantages. you can often force your opponent into helping you win

  • profile image

    jordyn 7 years ago

    i love this game

  • profile image

    be3 7 years ago

    I don't think there is a big advantage going first.

  • MrsKnowledge profile image

    MrsKnowledge 7 years ago from Spanaway

    I find it funny how a game so simple can be so competitive. I have seen grown men screaming at little kids and talking trash after beating them, it was quite hilarious.

  • janderson99 profile image

    Dr. John Anderson 7 years ago from Australia on Planet Water

    Hi Nicky,

    Don't show your Dad this article. Go first when you can, it is the best strategy. Cheers!

  • profile image

    nicky  7 years ago

    Well i am only nine and i beat my dad going second most the time. So u might want to edit your site.well maybe not because then again I always use yellow, and yellow is my lucky color.

  • SidneyMorgan profile image

    SidneyMorgan 7 years ago from Australia

    Like you I am often beaten by my kids at this game. After reading your hub I think it’s time for a rematch when they wake up in the morning. Hmm I can’t wait .....


This website uses cookies

As a user in the EEA, your approval is needed on a few things. To provide a better website experience, uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: ""

Show Details
HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
LoginThis is necessary to sign in to the HubPages Service.
Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
AkismetThis is used to detect comment spam. (Privacy Policy)
HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the or domains, for performance and efficiency reasons. (Privacy Policy)
Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
MavenThis supports the Maven widget and search functionality. (Privacy Policy)
Google AdSenseThis is an ad network. (Privacy Policy)
Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
Index ExchangeThis is an ad network. (Privacy Policy)
SovrnThis is an ad network. (Privacy Policy)
Facebook AdsThis is an ad network. (Privacy Policy)
Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
AppNexusThis is an ad network. (Privacy Policy)
OpenxThis is an ad network. (Privacy Policy)
Rubicon ProjectThis is an ad network. (Privacy Policy)
TripleLiftThis is an ad network. (Privacy Policy)
Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)