NEED Help on my project in school

V

Vicissitude24

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!
 
O

osmium

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.
 
R

rossum

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,565
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top