New online chess game + UI for Crafty

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

mishoo

New online chess game + UI for Crafty

Post by mishoo »

Hi folks,

I developed an online chess game and thought I'd announce it here. I hope my post doesn't qualify as a "flagrant commercial exhortation" since there are no premium accounts, no ads and I make no money with it whatsoever — for now it's even missing the ubiquitous "donate" button ;-). It's all free.

It allows you to play or chat directly from your browser, in real-time with other players around the globe, or to Crafty (in the future I might add support other engines as well). You can also play simultaneous games.

It's a young project so bugs may exist—I apologize for any malfunctioning. It also lacks some features (such as time-limited games or analysis mode) but I'm still working on it.

See it at this address: http://chess.dynarch.com/en.html. I appreciate any feedback! :-)
User avatar
Matthias Gemuh
Posts: 3245
Joined: Thu Mar 09, 2006 9:10 am

Re: New online chess game + UI for Crafty

Post by Matthias Gemuh »

Looks good !
I have just played a game there (in which I allowed Crafty to win in 30 moves :D ).

Matthias.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
User avatar
George Tsavdaris
Posts: 1627
Joined: Thu Mar 09, 2006 12:35 pm

Re: New online chess game + UI for Crafty

Post by George Tsavdaris »

Matthias Gemuh wrote:Looks good !
I have just played a game there (in which I allowed Crafty to win in 30 moves :D ).
For my great surprise i won my first game!!!!!!!!!!!
I created a nice attack while Crafty was too busy to conquer my Queenside. :lol:

I guess i will lose the next 30 games for the logical order of things to take place. :D Let's see what will happen in the 2nd game.....
Note that in the first 40 moves it was Crafty that played around 4 times slower than me. Of course when tactics came, i spend around 2-3 minutes for each move....

[Event "Dynarch Chess"]
[Site "http://chess.dynarch.com/"]
[Date "2008.04.12"]
[Time "19:21:26"]
[White "George23"]
[Black "crafty1"]
[Result "1 - 0"]
[WhiteElo "1551"]
[BlackElo "1717"]

1.d3 d5 2.d4 e6 3.f4 Nf6 4.Nf3 Be7 5.Bd2 O-O 6.e3 c5 7.Bd3 Qb6 8.Bc1 Nc6 9.c3 Qc7 10.Qc2 c4 11.Be2 Bd6 12.g3 b5 13.Nbd2 Bb7 14.O-O Rab8 15.Rf2 Ne7 16.Nf1 a5 17.Rg2 b4 18.a3 bxa3 19.bxa3 Ba8 20.g4 Nd7 21.h4 Rb5 22.h5 Nf6 23.Nh4 h6 24.a4 Rb6 25.Nh2 Rb3 26.Nh2f3 Ne4 27.Bd2 Rfb8 28.Be1 Kf8 29.g5 Ba3 30.gxh6 gxh6 31.Ne5 Bb2 32.Rd1 Bxc3 33.Bf3 Rb2 34.Qc1 Rxg2+ 35.Bxg2 Bxe1 36.Rxe1 c3 37.Re2 Rb4 38.Bf3 Ke8 39.Rg2 Rxa4 40.Bd1 Rb4 41.Rg7 Qb6 42.Bc2 Qb5 43.Bd3 Qa4 44.Rh7 Ng8 45.Bxe4 dxe4 46.Qxc3 Bb7 47.Rh8 Kf8 48.d5 Kg7 49.Nxf7+ Nf6 50.Rxh6 Rb1+ 51.Kh2 Qa2+ 52.Ng2 Qa1 53.Rg6+ Kf8 54.Qxa1 Rxa1 55.Rxf6 Ke7 56.h6 Rc1 57.h7 Rc8 58.d6+ Kxf6 59.d7 Ra8 60.d8=Q+ Rxd8 61.Nxd8 Kg7 62.Nxb7 a4 63.Nc5 Kxh7 64.Nxa4 Kg7 65.Nc3 Kg6 66.Nxe4 Kf5 67.Nc5 Kf6 1-0
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....
User avatar
George Tsavdaris
Posts: 1627
Joined: Thu Mar 09, 2006 12:35 pm

Re: WOW! A very interesting game and a win for me again!!!!

Post by George Tsavdaris »

I don't know how this is happening but i won the second game also against Crafty 22.0! So i have 2 out of 2 against Crafty. :?:
Is this a degraded version of Crafty? Because it seems to play normally and it also plays slowly(around 15 to 50 seconds per move).
I had Knight + Bishop against the 2 Rooks of Crafty, yet i won.... :D

My 10.a5 Rook sacrifice was nice although perhaps doubtful.
More nice was my 22.Rxb5! and even more was 19.c5!! and 32.f5!!

[Event "Dynarch Chess"]
[Site "http://chess.dynarch.com/"]
[Date "2008.04.12"]
[Time "20:31:57"]
[White "George23"]
[Black "crafty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Nb3 Kf4 86.Bf5 Ke3 87.Kg5 Ke2 88.Kf4 Ke1 89.Bg4 Kf2 90.Nc1 Ke1 91.Ke3 Kf1 92.Bf3 Kg1 93.Kf4 Kh2 94.Kg4 Kg1 95.Kg3 Kf1 96.Nd3 Kg1 97.Be2 Kh1 98.Nf4 Kg1 1-0
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: WOW! A very interesting game and a win for me again!!!!

Post by Dr.Wael Deeb »

Nice wins George,but did you take a closer look at your games!?
Something is definitely wrong with this Crafty....
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
User avatar
George Tsavdaris
Posts: 1627
Joined: Thu Mar 09, 2006 12:35 pm

Re: WOW! A very interesting game and a win for me again!!!!

Post by George Tsavdaris »

Dr.Wael Deeb wrote:Nice wins George,but did you take a closer look at your games!?
Something is definitely wrong with this Crafty....
What?
What do you find wrong?

I don't have time to analyze the first game but in the second one, Crafty 21.6 agrees with all moves after 30 seconds of thought for each one, so i don't see any problem(for this time control).....
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....
User avatar
Dr.Wael Deeb
Posts: 9773
Joined: Wed Mar 08, 2006 8:44 pm
Location: Amman,Jordan

Re: WOW! A very interesting game and a win for me again!!!!

Post by Dr.Wael Deeb »

I'll get along when having more time....
_No one can hit as hard as life.But it ain’t about how hard you can hit.It’s about how hard you can get hit and keep moving forward.How much you can take and keep moving forward….
User avatar
George Tsavdaris
Posts: 1627
Joined: Thu Mar 09, 2006 12:35 pm

Re: WOW! A very interesting game and a win for me again!!!!

Post by George Tsavdaris »

Dr.Wael Deeb wrote:I'll get along when having more time....
For the record i just lost the next 3 consecutive games i played..... :D

Still the record is good for me 2.0/5.0, so i guess i should stop playing to keep it in a respectable level. :lol:
After his son's birth they've asked him:
"Is it a boy or girl?"
YES! He replied.....
greenchile505

Re: New online chess game + UI for Crafty

Post by greenchile505 »

Your website is very nice, and your chess interface is very nice, and I looked at your project website too. All that you have done is quite impressive. Your API presentation is incredible. I played around with many widgets and read much of your code. You are doing great work and I wish you much success. I will read more when I am finished with school.

However, is there a way remove the "Vista" look and feel? With such a wonderful internet/web experience I do not like feeling as though I am using a windows PC.

Is the vista interface implemented by you, or inherited from the tools you are using for the project?
mishoo

Re: New online chess game + UI for Crafty

Post by mishoo »

Congrats! I never beat him. :-)

It's not reduced — it's Crafty 22 built from official sources and with the official books, with a minor change to make it return moves in full notation (for now it's a requirement of my UI); but this change can't possibly affect its thinking.