Need some hand-holding in project stockfish

Need some hand-holding in project stockfish

Postby mig2004 » Tue Oct 27, 2015 2:40 pm

Hi folks,

it is my first time writing here. In fact it might be my first time writing any software code, so, i am a total newbie.

I apologize ahead if my questions sound stupid. I am trying to bootstrap myself into programming, fully on my own, with the info i can gather online.This is where pwct might be really handy.

I want to "port" (i am not sure if this is the right word) or to create a version with PWCT for the chess engine stockfish.

stockfish is written in c++ and it is a console application. So i wonder if its code can just be copied into pwct, where i can learn and play pwct features while i further work this chess engine.

If so I need some basic hand-holding with pwct. Do i just paste the code from source to the pwct editor? how do your suggest to get started with this project?

Any help or suggestion will be considered.

Thanks again for your help.
(you can vew he sourcecode here: https://github.com/official-stockfish/Stockfish )

There is more info about this software here: http://stockfishchess.org/
mig2004
 
Posts: 1
Joined: Tue Oct 27, 2015 7:20 am

Re: Need some hand-holding in project stockfish

Postby Mahmoud Fayed » Sun Nov 01, 2015 9:27 am

Hello

it is my first time writing here. In fact it might be my first time writing any software code, so, i am a total newbie.


You are welcome :D

I want to "port" (i am not sure if this is the right word) or to create a version with PWCT for the chess engine stockfish.


Just study the PWCT System and learn how to use the tool to create programs and applications
http://doublesvsoop.sourceforge.net/pwcthelp/main2.htm

After that try to port the project, and during this task you can ask questions in this forum
viewforum.php?f=8

stockfish is written in c++ and it is a console application. So i wonder if its code can just be copied into pwct, where i can learn and play pwct features while i further work this chess engine.


(1) PWCT Supports code generation in many programming languages like Harbour, C & Python
And you can extend PWCT to support any language like C++ & Java
http://doublesvsoop.sourceforge.net/pwc ... ension.htm

(2) Using Harbour C API or Python C API you can extend the VM with functions/classes written in C or C++
https://docs.python.org/2/c-api/

Greetings,
Mahmoud
Mahmoud Fayed
Site Admin
 
Posts: 642
Joined: Tue Apr 23, 2013 4:50 am


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 1 guest