C++ Homework - repost

The first programming task is (in spring 2013) belonging to the profession Artificial intelligence is about the game of chess. The idea is to write a simple program that a small part of this game as good as possible plays. We look only to the situation where a white lady (WQ) and white king (WK) try to set mat a lone black king (BK).

Use the C++ sample program from the website.

([url removed, login to view]~kosters/AI/[url removed, login to view] )

Make three Al-players for white:

One :plays completely random, see code

Two: think yourself a (simple )strategy. Fill in the code with a suitable function.

One possible idea is the following. The lady is now often beaten: avoid that.

Three : idem. But with a different strategy.

One idea is ,for example , the following . Walk all the possibilities , play a possibility in a copy of the board on the turn(through Board copy = *this;), assess the move, and select the “best” move. Do not think further ahead.

What is the size of the rectangle in which the black king can move? How many possible moves does the black king have ? Is the black king on the edge? How near are the white pieces together? How near are the white and black pieces together?

Try this to program as simple as possible. There are simple systems to put mat the king. but the purpose of this exercises is to own heuristics to devise and to write a report, give the report also other approaches ,for example the endgame-database with references.

So let the three players play, and report the findings( averages, standard deviations, charts). The black player always plays random.

In short: make various simulations; to vary include the size of the board. There may freely with-source-make use of the sample code.

There is not asked for a program that meets all the software engineering standards. Keep the program so simple - but neat!

You can find the original website here:

[url removed, login to view]~kosters/AI/[url removed, login to view]

and the source code is here : we will fill in this code with good working functions;

[url removed, login to view]~kosters/AI/[url removed, login to view]

Please make an original code because teacher is not easy person!! ;)

I hope you understand it, if not?, than you can always ask me questions.

Taidot: C-ohjelmointi, C++ -ohjelmointi

Näytä lisää: www how to write a report, what is engineering all about, what is c# programming, what is c programming, programming board game, programming ai, near c programming, how we can write a report, how to write simple report, how to write a simple report, how to write a short report, how to write a report for homework, how to write a findings report, how to find a profession, how do we write a report, how can one write a report, homework now, game programming easy, game ai programming, do homework for you, c# programming questions, c programming questions, c programming original website, c programming homework, c programming find function

Tietoa työnantajasta:
( 2 arvostelua ) ankara, Turkey

Projektin tunnus: #4238548

Myönnetty käyttäjälle:


Hi, I am a student and I also sometimes deal with "not easy persons". A term ago I wrote a multiplayer chess game in java (see my portfolio). I am experienced in C/C++ programing and I also know artificial intelligence Lisää

$30 AUD 2 päivässä
(1 arvostelu)

5 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Hello, I am a highly experienced C++ programmer with an interest in chess to design 2 differing strategies to checkmate the lone black king. A IDLER

$125 AUD 6 päivässä
(54 arvostelua)

As discussed with employer

$60 AUD 1 päivässä
(21 arvostelua)

I can probably do this in an afternoon. I am dutch, perhaps that can help?

$30 AUD 3 päivässä
(0 arvostelua)

hi i have very good experience in c++ and assignment writing. i can do this. lets talk.

$100 AUD 5 päivässä
(0 arvostelua)