PHP function to generate draughts moves

Cancelado Publicado Aug 23, 2006 Pagado a la entrega
Cancelado Pagado a la entrega

I need the function which will generate array of possible legal moves in the draughts game.

I mean International 10x10 game.

For instance:

The position is white: King 46, pieces 27, 32 Black: King 1, pieces: 14,16,21

![][1]

function

GenerateMoves ( X............x.x....x.....o....o.............O....) should generate

aMoves = array ('46-41', '46-37', '27-22', '32-28');

aPositions = array (

'X............x.x....x.....o....o........O.........',

'X............x.x....x.....o....o....O.............',

'X............x.x....xo.........o.............O....',

'X............x.x....x.....oo.................O....'

);

If you do not know the rules - you can look here <[url removed, login to view]>

The most complicated rules to program is probably the capture by the king and Turkish capture ( captured pieces are being taken off board after capture is finished )

If you know Java good you can look to this working piece of Java code.

(with Java source and working applet)

<[url removed, login to view]~hjetten/java/[url removed, login to view]>

## Deliverables

Rent A Coder requirements notice: As originally posted, this bid request does not have complete details. Should a dispute arise and this project go into arbitration "as is", the contract's vagueness might cause it to be interpreted against you, even though you were acting in good-faith. So for your protection, if you are interested in this project, please work-out and document the requirements onsite.

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

PHP

Ingeniería Consolas de juegos Diseño de juegos MySQL PHP Arquitectura de software Verificación de software

Nº del proyecto: #3745929

Sobre el proyecto

9 propuestas Proyecto remoto Activo Sep 19, 2007

9 freelancers están ofertando un promedio de $64 por este trabajo

bahe

See private message.

$68 USD en 10 días
(147 comentarios)
6.5
SvetoslavNedkov

See private message.

$85 USD en 10 días
(64 comentarios)
5.2
sandgSoftware

See private message.

$68 USD en 10 días
(35 comentarios)
4.5
cambraca

See private message.

$51 USD en 10 días
(28 comentarios)
4.2
mygoldensoftvw

See private message.

$85 USD en 10 días
(6 comentarios)
2.3
cyberplantvw

See private message.

$42.5 USD en 10 días
(4 comentarios)
1.9
bursuk

See private message.

$17 USD en 10 días
(5 comentarios)
2.0
websitesforvw

See private message.

$72.25 USD en 10 días
(0 comentarios)
0.0
mtopolov

See private message.

$85 USD en 10 días
(0 comentarios)
4.5