Käynnissä

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ää: programming board game, programming ai, near programming, write report homework, write findings report, one write report, homework now, game programming easy, programming original website, programming find function, cplusplus set, best programming questions, artificial intelligence programming, ai programming, spring programming, program artificial intelligence, cc systems, best artificial intelligence software, wk, the c, simple mat, programming artificial intelligence, mat, find profession, easy programming task

About the Employer:
( 2 reviews ) ankara, Turkey

Projektin tunnus: #4238548

Myönnetty käyttäjälle:

rakjak2

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)
1.0

5 freelanceria on tarjonnut keskimäärin 69 $ tähän työhön

idleswell

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)
4.3
nani01029x

As discussed with employer

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

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

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

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)
0.0