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

1 what is tombstoning and why use it2 discuss in detail

1. What is tombstoning and why use it? 2. Discuss in detail Idle Detection in Windows Phone 8 Applications. 3. Discuss in detail the software input panel (SIP). 4. Discuss Data Binding. 5. Discuss the Windows Phone Toolk ...

1 discuss two lan technologies that are not ethernet or

1. Discuss two LAN technologies that are NOT Ethernet or token ring. 2. Why is Ethernet technology more appealing to users than the rest of the LAN technologies? 3. What do you think are the weak points of TCP/IP? 4. Dis ...

Leta draw the set bb determine the boundary of bc

Let (a) Draw the set B (b) Determine the boundary of B (c) Determining the interior of B

1 if one-time pads are provably secure why are they so

1. If one-time pads are provably secure, why are they so rarely used in practice? 2. Prove that the DES key consisting of all 0-bits and the DES key consisting of all 1-bits are both weak keys. What are the other two wea ...

In a tcp connection the initial sequence number at the

In a TCP connection, the initial sequence number at the client site is 2171. The client opens the connection, sends three segments, the second of which carries 1000 bytes of data, and closes the connection. What is the v ...

It was suggested there that the data may be subject to

It was suggested there that the data may be subject to recall or measurement errors. Assuming that these recall errors are potentially concentrated among high counts, reestimate the Poisson and NB2 models after sequentia ...

1 using the window method and a nonkaiser window design a

1. Using the window method and a nonKaiser window, design a digital highpass filter with Ω s = 0.45π, Ω p = 0.5π, and α s = 60 dB 2. Using the window method with a Blackman window, design a length Lh = 11 digital bandpas ...

Application jurisdictional aspects of cybercrimeyou are

Application: Jurisdictional Aspects of Cybercrime You are using your wireless device to locate a restaurant. Suddenly, a large flashing skull-and-crossbones appears on your screen and a menacing laugh plays. Seconds late ...

1 overviewin this assignment you will learn how to

1 Overview In this assignment, you will learn how to implement a priority-based scheduler forxv6. To get started, download a new copy of the xv6 source code fromhere. Do NOT use the source code of project 1. You'll do tw ...

Printers can be connected to the network and made available

Printers can be connected to the network and made available to many users. To manage multiple print jobs and to provide fair access, networked printers use print queues. Design, implement, and test a computer program to ...

  • 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

WalMart Identification of theory and critical discussion

Drawing on the prescribed text and/or relevant academic literature, produce a paper which discusses the nature of group

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