douglasbagnall / p4wn

a smallish turn-of-the-century javascript chess engine
http://p4wn.sf.net
113 stars 33 forks source link

your code story ? #23

Open tissatussa opened 3 years ago

tissatussa commented 3 years ago

hi,

while gathering information and stories about the history of chess engines, i remember your P4WN chess engine (or "5K ORG", referring to the original https://the5k.org contest) and i frequently play with it for fun ! I also find other JS engines based on P4WN ..

does an article of its history exist ? development and success ? i was intrigued, esp. by your original scrambled less-than-5K-code .. Alan Turing created 'TuroChamp' and you too must be a good programmer and chess player, understanding some special chess math ?

flipflopapp commented 3 years ago

I use it in my game halfchess.com .

I have modified the code to run on a small board and use extra pieces (like crab, which moves zig-zag).

Please give it a try.

Thanks for making the engine.

tissatussa commented 3 years ago

@flipflopapp although your reply seems no reaction to my issue, i want to respond with a positive note : on halfchess.com i see youre a programmer in node.js and do web and mobile .. well, can we arrange a discussion by email (i find yours on https://flipflopapp.com/#contactinfo) about some programming ideas i have ? (i'm a programmer too, but rather old-school web .. no smartphone here ..)

tissatussa commented 1 year ago

@flipflopapp any more thoughts on P4WN and my assist ?

flipflopapp commented 1 year ago

Hi @tissatussa

Sorry, I don't have stories or articles for your assist.

But twitter would be a more definite way to reach out (@navalsaini). I must have missed your email.

I think your article would be cool. It would be interesting if you create a tech conference talk about it. Might be interesting for people.

Cheers

tissatussa commented 1 year ago

i found its story in the README : https://github.com/douglasbagnall/p4wn .. however, it doesn't tell about the algorithm or counting mechanism .. when compared to TuroChamp (eg. https://github.com/mdoege/PyTuroChamp works OK for me) P4wn is very fast and beats it! I would like to run P4wn in CuteChess, but the application JSUCI (mentioned in #21) does not run on my Linux (it's a Windows .exe) and compiling its .cpp file fails because i can not install the V8 Javascript Engine .. or can it run with nodejs ? How ? Playing in CuteChess against several (weak) engines could result in an article about its style and strength ..