473,396 Members | 1,914 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

NEED Help on my project in school

Our instructor had given us a task to create a four-in-a-row game in C+
+(DEV).
I was able to create a 2player human-human game.

but unfortunately our instructor added new details.
to add an AI and make in in a graphical interface...

i really need your help! if there is anyone there who could help me. I
dont know how to make a GUI interface and i dont know how to make AI
programs. We were not taught about this. although this project
deadline is 2 weeks from now, i dont think i could do it. please...
help me!

Feb 25 '07 #1
2 1422
<Vi***********@gmail.comwrote:
Our instructor had given us a task to create a four-in-a-row game in C+
+(DEV).
I was able to create a 2player human-human game.

but unfortunately our instructor added new details.
to add an AI and make in in a graphical interface...

i really need your help! if there is anyone there who could help me. I
dont know how to make a GUI interface and i dont know how to make AI
programs. We were not taught about this. although this project
deadline is 2 weeks from now, i dont think i could do it. please...
help me!
That sounds absurdly impossible to me. If you met the prerequisites for the
course, there should be other students in the same boat. Bring up your
concerns in class or get a delegation together and visit the instructor
during his office hours.
Feb 25 '07 #2
On 25 Feb 2007 07:10:26 -0800, "Vi***********@gmail.com"
<Vi***********@gmail.comwrote:
>Our instructor had given us a task to create a four-in-a-row game in C+
+(DEV).
I was able to create a 2player human-human game.

but unfortunately our instructor added new details.
to add an AI and make in in a graphical interface...

i really need your help! if there is anyone there who could help me. I
dont know how to make a GUI interface and i dont know how to make AI
programs. We were not taught about this. although this project
deadline is 2 weeks from now, i dont think i could do it. please...
help me!
I agree with Osmium, that looks very difficult for homework.

1) Find out exactly what your instructor meant by "graphical
interface". Are you perhaps intended to use a pre-existing GUI like
QT or WxWidgets?

2) AIs range from the very sophisticated to the very simple. At its
simplest your AI could be just to look for three in a row and either
block it or play at the end depending on whose turn it is. Looking
for a position that created two three-in-a-rows for yourself (or
blocks it for the opponent) would make for a more sophisticated AI.

The (simple) AI part you can probably do if you think about it. I
suggest you get started on that while confirming exactly what
"graphical interface" means. At least with a working simple AI you
will have something to hand in.

rossum

Feb 27 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Andrej Hristoliubov | last post by:
I am the best c++ programmer in the whole wide world. Trust ME! My reference is Victor Bazarov,Valentin Samko,Alf P.Steinbach( Me and Alf actually intern together at Microsoft), and Bjarne...
0
by: kernal | last post by:
Hi, I am building a project in ASP I need a SQL query for my project. I am making "Student Fee System" for a school all is fine, but i need a search statement in which it showes only those...
1
by: Glen | last post by:
I need to make a project for school that intergrates Frontpage, access, word and powerpoint. I wanted to make something that would be usefull for work also. Anyways, here goes. I hope to create...
8
by: Christan | last post by:
I am currently taking a db course and my class is paired us into groups of 4s and our instructor had us download a template from the microsoft Access site for education to create and modify a...
13
by: Brett Baisley | last post by:
At school, we do all of our coding in emacs, but I am trying to get the example apps working at home using Visual C++.net. In the example, there are 4 .cpp files (canvas.cpp, main.cpp,...
5
by: Kevin Carne | last post by:
First, Merry Christmas. I have been doing intensive Java programming for two years in school (no choice on the language), but now I need to return to C++ because my resume is filled with it both in...
2
by: Viken Karaguesian | last post by:
Hello all, I don't mean to exclude the rest of the world here, but I think this will be more applicable for me. What's the going rate for freelance web designing in the USA? I know it...
22
by: the_grove_man | last post by:
I purchased a book titled "Pro ASP.NET 2.0" to get up to speed on web stuff because I ususally do Windows Form Applications.. But in the first chapters I was reading this week it brought to mind...
5
by: =?Utf-8?B?c25vd2JraWQx?= | last post by:
I have Visual C++ 2005 express edition, I downloaded it from the microsoft website. I am using it for school. I started an assignment in the lab at my school, and for the asssignment I had to...
1
by: muld | last post by:
I've inherited a database system designed to calculate sickness absence statistics. There is a main table with an employee ID which also holds the number of days worked by that person in a year ....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.