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

Describe google and amazons new information technology

Describe Google and Amazon's new information technology infrastructure. What is the relationship between this new infrastructure and the global, Web-based platform? Explain why IT is a business pressure as well as an ena ...

1 what is the maximum number of characters or symbols that

1. What is the maximum number of characters or symbols that can be represented by Unicode? 2. A color image uses 16 bits to represent a pixel. What is the maximum number of different colors that can be represented? 3. As ...

Assignment preparing for a company-wide migration to

Assignment: Preparing for a Company-Wide Migration to Windows 8.1 Crescent Manufacturing Inc. (CMI) is a luxury leader in crafted and customized home furnishings. The corporate headquarters and a production facility are ...

How do i use ratio data to reconstruct an income statement

How do I use ratio data to reconstruct an income statement? Managerial Accounting, Horngren's 11th edition. Do we have access to a solutions manual?

Computer science paper multiple perspectives on ethicswrite

Computer Science Paper: Multiple Perspectives on Ethics Write a 3 pages paper on the ethical issues/dilemma you might face in interacting with customers and project team, talk about how you understand ethical in computer ...

Objective -the purpose of this program is to generate

Objective - The purpose of this program is to generate random numbers, report total number created, how many were 15, 16, or 17 and report this information to the user. You are required to use array, pointer and customis ...

It is sometimes necessary to perform stack operations with

It is sometimes necessary to perform stack operations with variable length strings. Implement push and pop procedures that manipulate such strings stored on a stack consisting of a fixed length character array.

Assignment preparationfor this assignment review the

Assignment Preparation For this assignment, review the organization and the industry before applying the strategic models below to Ford Motor Company. You will need at least five current, scholarly or professional resour ...

Design an algorithm that compares a random and sorted array

Design an algorithm that compares a random and sorted array and establishes the average distance that elements must travel in moving from random to sorted order.

Metrics paperresearch the following topicmetricsreview nist

Metrics Paper Research the following topic: Metrics Review NIST SP 800-55 Rev. 1, Performance Measurement Guide for Information Security. Discuss measures you would be interested in finding the results, based on your hom ...

  • 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

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen