Search found 22 matches

by bluefever
Thu Aug 22, 2013 5:21 pm
Forum: Programming and Technical Discussions
Topic: Vice 1.0
Replies: 4
Views: 3666

Re: Vice 1.0

Adam Hair wrote:Cool! I just added the link to the YouTube videos to the "Chess Programming Resources" page at my blog.
That's great, thanks!
by bluefever
Tue Jul 30, 2013 6:03 pm
Forum: Programming and Technical Discussions
Topic: Vice 1.0
Replies: 4
Views: 3666

Re: Vice 1.0

ChessDrone wrote:Excellent work!
In the name of all those who will see your tutorial, I say Thank you very much!
Nice of you, thanks :)
by bluefever
Tue Jul 30, 2013 9:13 am
Forum: Programming and Technical Discussions
Topic: Vice 1.0
Replies: 4
Views: 3666

Vice 1.0

Following on from the "Engine In Javascript" thread, I finished my YouTube video series today, programming a simple chess engine.

The ReadMe is here: http://bluefever.net/Downloads/ViceReadMe.html
The Engine is here: http://bluefever.net/Downloads/Vice10.zip

There are 32 & 64 bit compiles ...
by bluefever
Fri Jul 26, 2013 7:00 am
Forum: Programming and Technical Discussions
Topic: Engine In Javascript
Replies: 17
Views: 6693

Re: Engine In Javascript

Yeah, sadly, webworkers are the only way to go really. You can also process the search in chunks, but that basically requires writing an iterative search, which is not as fun.

Yes, the search in chunks would be a PITA to program.

According to caniuse.com, IE 9 and older do not support webworkers ...
by bluefever
Wed Jul 24, 2013 3:17 pm
Forum: Programming and Technical Discussions
Topic: Engine In Javascript
Replies: 17
Views: 6693

Re: Engine In Javascript

I found a small bug in GarboChess, nothing to do with the playing, but the UI. If I undo moves, it doesn't remove them from the movelist, and adds the new moves on 8-)

It's a great App, though. I added the "current FEN" also today :)
by bluefever
Tue Jul 23, 2013 10:13 pm
Forum: Programming and Technical Discussions
Topic: Engine In Javascript
Replies: 17
Views: 6693

Re: Engine In Javascript

On thing I meant to ask, as I'm new to JS - do you have any tips on not blocking the GUI when the engine is thinking? I notice Garbochess does not. I couldn't find much info on doing this, apart from a webworker, which didn't seem right.

Thanks!
by bluefever
Tue Jul 23, 2013 10:10 pm
Forum: Programming and Technical Discussions
Topic: Engine In Javascript
Replies: 17
Views: 6693

Re: Engine In Javascript

Awesome job! Great to see another strong JS engine on the scene :).

I played them against each other at 2s a move, and Garbochess (http://forwardcoding.com/projects/ajaxchess/chess.html) barely prevailed, although it was a toss-up in the midgame for quite a while. My guess is that they are quite ...
by bluefever
Tue Jul 23, 2013 6:40 pm
Forum: Programming and Technical Discussions
Topic: Engine In Javascript
Replies: 17
Views: 6693

Re: Engine In Javascript

Tried to play some other game at 10s per move, but in every game I sooner or later get to the point where the UI does not display a move from the engine anymore. However, if after a short while I hit the takeback button, a completely different position is shown. It looks as if at some point the UI ...
by bluefever
Tue Jul 23, 2013 5:57 pm
Forum: Programming and Technical Discussions
Topic: Engine In Javascript
Replies: 17
Views: 6693

Re: Engine In Javascript

Tried to play some other game at 10s per move, but in every game I sooner or later get to the point where the UI does not display a move from the engine anymore. However, if after a short while I hit the takeback button, a completely different position is shown. It looks as if at some point the UI ...
by bluefever
Fri Jul 19, 2013 4:36 pm
Forum: Programming and Technical Discussions
Topic: Engine In Javascript
Replies: 17
Views: 6693

Re: Engine In Javascript

Hello,

playing with your engine I came across a bug: in this position, your engine as White plays the surprising Nf4xe2

[FEN "4r3/3k3p/pr2p3/2p2p2/2Pb1N2/7P/P3R1P1/4R2K w - - 0 1"]
If I take back, then the Re2 turns Black.

Good start anyway, I''m using in my project garbochess.js at the moment ...