Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

Ask Computer Engineering Expert

Connect 4 on a General Board

You can try out the classical connect-4 game at:

http://www.mathisfun.com/games/connect4.html.

While the classical connect-4 game is played on a 67 board, it can in fact be played in any nrRowsnrCols board. In your implementation, the user will specify the number of rows nrRows and the number of columns nrCols. A win is obtained if a player has four consecutive pieces in a row, column, or diagonal.

Your program should implement the game for two human players. Extra credit, up to 20 points, will be given for the design of the graphical interface. You could enhance your graphics by using sounds as well.

For additional extra credit, up to 30 points, you could implement a computer-playing strategy. Extra credit points will be given based on the strength of the computer play.

Alternative Projects

As an alternative to connect-4, you could implement:

  • Sokoban, see http://www.game-sokoban.com/, http://en.wikipedia.org/wiki/Sokoban
  • Breakout, see http://www.play.vg/games/10-Breakout.html
  • Nine Men's Morris, see http://en.wikipedia.org/wiki/Nine Men's Morris
  • Mini-chess, see en.wikipedia.org/wiki/Minichess, the Gardner variant.
  • Backgammon, see http://en.wikipedia.org/wiki/Backgammon

In addition to the interface, the ability of the computer to play the game will be taken into consideration. There will be up to 20 points of extra credits for the graphical design and up to 30 points of extra credit for the strength of the computer play.

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9257

Have any Question? 


Related Questions in Computer Engineering

Given a turing machine deterministic or not show that there

Given a Turing machine, deterministic or not, show that there exists another Turing machine with a larger tape alphabet that performs the same computation but in a number of steps and number of tape cells that are smalle ...

1 write a program to scan 3 integer numbers from user then

1). Write a program to scan 3 integer numbers from user, then find the maximum of these 3 numbers and print it. 2). Write a program to scan 2 integer numbers from user, then check for below conditions: a). If both the nu ...

Consider the three reports in figure 5-60 the data are

Consider the three reports in Figure 5-60. The data are samples of data that would appear in the reports like these. A. Make a list of as many potential entities as these reports suggest. B. Examine your list to determin ...

What does it take to be successful in businessexplain how

What does it take to be successful in business? Explain how entrepreneurs differ from business managers. What characteristics do they share? Discuss an example of a successful entrepreneur.

1 discussionsemployee orientation gradedemployee

1. DISCUSSIONS Employee Orientation (graded) Employee orientation is handled differently in each organization. Let's talk about this in both the theoretical perspective as well as in practical terms. Here are a few quest ...

In iterative projects find out how project closure is

In iterative projects, find out how project closure is different compared to project closure in traditional projects. What are typical project tasks in project closure phase?

A explain the meaning of the expression acid transactionb

a. Explain the meaning of the expression ACID transaction. b. Describe statement-level consistency. c. Describe transaction-level consistency. What disadvantage can exist with it? d. What is the purpose of transaction is ...

Please respond to both of the following questionsquestion

Please respond to both of the following questions: Question A: What are the most important capabilities an organization should look for when selecting a network operating system and how many different network operating s ...

Self-evaluation of your paperthe following topics will

Self-Evaluation of Your Paper The following topic(s) will demonstrate what the discussion is about, but feel free to branch off or expand on the topics. At the end of the discussion, you will be asked to craft a 150 word ...

Computer projectone report per group of two students you

COMPUTER PROJECT One report per group of two students. You can also choose to work alone. The group should list their names and percentage effort on the project with both members of the group signing the sheet for verifi ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate