473,320 Members | 1,612 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,320 software developers and data experts.

Urge for help in a game programming

Four Win
Description

To program the play named "four win", the background board should
consist of a lattice with 7 columns, into which in each case 6 stones
fit. The playing field stands perpendicularly, so that a stone falls
always widen-possible downward.
The rules are :
1. The goal of the Game is to place four stones in a row or column wise
or diagonally as a first player.
2. Each player receives 21 stones of his colour (pink/green).
3. The green player begins.

4. The player lets a stone fall alternating into a row.
5. If no more places are in a row, then this may not be selected.
6. Winner will be the player, who can accommodate first four stones in
a continuous manner (horizontally, vertically, diagonally).
7. If the backboard is full and there is no certain winner, then the
play ends undecided.
For a better understanding go to:

http://www.kielack.de/games/fourwins.htm
The program is to cover the following capability characteristics:

· Play between two human players.
· Play between a human and a computer player.
· Play between two computer players.
· Each player is to extend the abstract class ,,Player ", which is
available on the practical course web pages for the Download.
References
· One can make Screenshots simply by pressing the key at the same
time ,,pressure/print screen "and/or <Altand ,,pressure/print
screen "(the screen and/or the active window copies as diagram into
the intermediate file, so that these can be inserted in Word over
Edit->Past as picture directly).

· The aim for this program is to show as simple text edition as
shown in the example TicTacToe (see C++ program
simpleTicTacToe.cpp).
· In the simplest case the computer player can make coincidental
courses (see C++ program zufallszahlen.cpp (RandomNumbers). A more
intelligent strategy for the computer player can be programmed
according to the mini max algorithm (e.g. see.
http://de.wikipedia.org/wiki/
http://en.wikipedia.org/wiki/Minimax_algorithm). An improved variant
for this algorithm is the alpha beta search (e.g. see
http://en.wikipedia.org/wiki/Alpha-Beta).

Jul 18 '06 #1
4 828
"ume$h" wrote
Four Win
Description

[snip assignment]

Looks like a fun project. What have you done so far?

--
Randy
Jul 18 '06 #2
"ume$h" <fr****************@gmail.comwrote:

[ Snip homework assignment ]

Are you following a course on how to make yourself look a prat on as
many newsgroups as you can?

Furrfu.

Richard
Jul 18 '06 #3
R. Scott Mellow wrote:
"ume$h" wrote
Four Win
Description

[snip assignment]

Looks like a fun project. What have you done so far?
Well, since the OP hasn't even decided for a language yet (comp.lang.c++ and
comp.lang.c are mutually exclusive...) I don't think there is much code to
view. Therefore, the right group for this is probably
alt.comp.lang.learn.c-c++ - follow-up set accordingly.

To the OP: please read the FAQ of that group before posting there (or,
rather, in any group before you post there), it also features some info on
homework assignments.

Uli

Jul 18 '06 #4

R. Scott Mellow wrote:
"ume$h" wrote
Four Win
Description

[snip assignment]

Looks like a fun project. What have you done so far?
Well, he's pasted his assignment into the Babelfish, selected "German
to English" and clicked "Translate". Credit where credit's due ;-)

Jul 18 '06 #5

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

Similar topics

1
by: Claude Vernier | last post by:
Hello, I'm a C# programmer. I have two projects. First, write an action scrolling game in C#, (portable to Windows Mobile eventually...), This game will look like The Adventure of Link from...
9
by: the_philospher | last post by:
I am a beginner programmer learning c++. i have read some useful information about programming games (which is my goal) on gamedev.net, particularly "how do i program games"...
2
by: Hans Kamp | last post by:
As a programming exercise I try to program a game. In my case it is called BugEater. The purpose is that you are a snake. It moves automatically but you can control it with the keys on your...
4
by: robinsand | last post by:
My apologies to those of you who are more advanced Visual C++ .NET programmers, but I am working on a project for an MBA course that is condensed into an eight-week schedule, and I need help...
6
by: ume$h | last post by:
Four Win Description To program the play named "four win", the background board should consist of a lattice with 7 columns, into which in each case 6 stones fit. The playing field stands...
1
hpbutterbeer
by: hpbutterbeer | last post by:
We have a Machine Project and my brain is currently in a clouded state. Sorry, I'm just a beginner in C Programming... Text twist is a windows game whose main objective is to form words out of the...
4
by: COHENMARVIN | last post by:
Are there any good sources on video game programming in vb.net? Is "DirectX" a set of libraries for video game programmers? The reason I ask is that I'd like to convert a board game into a...
3
by: Dew | last post by:
Hello, iam new to programming, and ive been given a task in my Uni to complete certain exercises but i found it very difficulty to solve them. I was wandering if there is someone who can help me...
5
by: av3rage | last post by:
I have never done any programming in my life but I have decided to go into engineering and in doing so we have to take this intro to programming course and I am pretty clueless. I am starting to get...
0
by: smartx | last post by:
Hi, I would like to share my knowledge as a game programmer, really game programming is hard, I don't want to disappoint you, the important point to become a game programmer is to love game...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.