How to write "en-passant" move code?

You can discuss all aspects of programming and technical matters here.

Moderators: Harvey Williamson, Watchman

Post Reply
Albitex
Member
Posts: 32
Joined: Wed Dec 26, 2007 10:32 pm

How to write "en-passant" move code?

Post by Albitex »

I am writing a program. A tool of analysis for endgames.
I have a problem has write the part of code for the movement: the pawn capture: "en-passant".
In this circumstances, "en-passant" move, I over has produce a movement and verify the legality of it, I must also remember me the latest moved of the opposite color,and work also with this value of variable. It is more difficult than the normal movements.
Know some people, some reference? :?:
aiko73

hello

Post by aiko73 »

i think you just have to have a brief review before finally deciding to make your own game..you are just in the initial phase you just need to learn more.. :lol:
Post Reply