[gcompris-devel] chess position to complete

Chris Puttick chris at centralmanclc.com
Sat Oct 25 04:10:02 UTC 2003


Just been playing it (beta testing Freeduc1.4!) - what sort of programming
skill level would I need to complete it? Basically not coded for 10 years,
other than playing a bit with Python and PHP.

-----Original Message-----
From: Bruno Coudoin
To: gcompris-devel
Sent: 10/23/03 11:37 PM
Subject: [gcompris-devel] chess position to complete



Anybody interrested in completed the chess activity. I never focused on
providing good exercices for the kids.
It's easy to complete by editing the code in:
chess_position.c:217:position_set_initial_partyend ()
and just after:
position_set_initial_movelearn 

There is a switch by level and you just need to fill the position using
code like this:
	/* The white pieces */
	pos->square [E1] = WK;
	pos->square [G1] = WQ;

It's sad to have a great chess game here and not to use it to all it's
capability.

Bruno.




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
gcompris-devel mailing list
gcompris-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gcompris-devel




More information about the Gcompris-devel mailing list