C. Program Description for Developers

This program was created to ensure an efficient and fast running code, and show an easier way to play connect four with your friends. The program begins by bringing up a 6 by 7 board of yellow spaces. The program then asks for an input of the names of the players, 1&2. Once the  player names have been inputted, the program generates a menu with all 7 columns as a choice where to place the black chip for player one. The code uses a series of cases and if…then statements to make the chip appear in the column that was selected. Once the chip is in the selected column, the switch command changes the red and black chips when switching between players. There are two separate cases for each player, again using if… then loops to account for the chips that are already in the column. When one player achieves four of the same color chips in a row, the game ends and to restart, press control c. This code runs smoothly every time, and is a fun way to enjoy spending time with friends.