Prog 3 Tic Tac More

Prof. Reed, CS 102, Fall 2011

Due at 11:59pm on the date indicated in the Course Schedule

 9/23 updates shown below in green

You may work with a partner on this project. 

You may have played tic-tac-toe, where the object is to get 3 in a row.  This is a slight extension, where the object is to get 4 in a row OR to get 3 in a row along one of the edges.  The first part of the game looks like:

Welcome to TicTacMore    Author: Dale Reed  CS 102, program #3.  Written in Java using Eclipse.  Lab: Wed 7am with Edmund Hilary    The object of the game is to get either 4 in a row or  3 in a row on any edge.  Player X starts and play alternates  until someone wins or the board is full.  You may only move  in a square adjacent to a piece already played.        1 2 3 4 5  A . . . . . A B . . . . . B C . . . . . C D . . . . . D E . . . . . E   1 2 3 4 5   1. Enter row and column for move (e.g. b3) -> c3   1 2 3 4 5  A . . . . . A B . . . . . B C . . X . . C D . . . . . D E . . . . . E   1 2 3 4 5   2. Enter row and column for move (e.g. b3) -> b2   1 2 3 4 5  A . . . . . A B . O . . . B C . . X . . C D . . . . . D E . . . . . E   1 2 3 4 5   3. Enter row and column for move (e.g. b3) -> x Exiting program... Thanks for playing.  Exiting...

You need to know the following concepts in order to write this program:

Hints: