Connect Four

Create an Android app of Connect Four.  This project should explore the use of AI.  The board should be 7 x 6, and the disks should be created to go into each column.  After the player does his move, the computer should then perform his move.  The computer player explores the strategy of perfect play. When both players play "perfectly, meaning that each player is aware of how the amount of cells affect each player's move and/or prevents the other player from making a threat (having two or more connecting discs), the game will usually result in a tie.  This game should be one player and two players.  Win detection should be based on vertical, horizontal, or a diagonal connect four.

Part of your grade for this project will be based on the instructor's assessment of your classroom productivity that includes your ability to independently learn and apply information from online class resources without help from others and without disturbing the work of others in class.

Preconditions:

  • Each player has 21 disks.

You must hand in the following on separate pages stapled in this specified order:

  1. The hardcopy source code for the Java class(es).
  2. The hardcopy XML (main & strings).
  3. Upload the project to your Google site with a unique apk file name and a unique app_name defined in the strings.xml file