I want to let all you people know that i Need this program done by Friday July 25 10:PM EST
For this assignment you will write a program that plays the game connect 4. Your program will make ONE move each time it is run. For rules on connect 4 see the following website The connect 4 board is 7 columns by 6 rows. The rows are labeled A-F starting at the top of the board and the columns are numbered 1-7 starting at the left. The current state of the board will be provided on the command line along with your piece type. Your program should print out the location where it wants to make a move. We will use X and O as the pieces and . for empty squares. For example, if the board looked like: 1234567 A ....... B ....... C ....... D X...... E O..X... F XOXO..O And it was X's turn then your program would be run as follows : ./c4 X ....... ....... ....... X...... O..X... XOXO..O And would print out one of the following values : C1, E2, E3, D4, F5, F6, F7 (those are the ONLY valid moves for that board) It is VERY important that you follow the I/O formatting exactly. Your program will be played against another students. Any program that makes an invalid move (either illegal or improperly formatted) will be disqualified from the competition. The ONLY output your program should generate is from the following line of code (cut and paste it into your program!) printf( "%c%d\n", row, col ); For some fun every program will be played off against every other program. Your grade will be determind by your solutions proper play of connect 4 NOT how well it plays. There will be some sort of bonus for those solutions that play well. This assignment is not worth any more or less than any other assignment. You should NOT spend a huge amount of time on it! Instead you should focus on completing the term project. Some play ideas: make the first valid move you find randomly select from all your valid move options make the move that wins the game make a move that keeps your op from winning 'search' for a 'good' move -- sorry, no hints on how to search or what a good move is
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
linux or Windows
The program should be done by July 25 by 10:PM EST