Allows you to play a game of chess, for one or two players. JavaScript Chess originally by Neal Pearce, from javascript.internet.com. A couple of instantaneously discovered bugfixes in this version.
This version is not too easy. If anything, it is a challenge and it beats me. I will have to practise on it often. It needs to have a message of when check happens and when checkmate happens. Its a great courtesy to let the other know, instead of being silent.
Everyone, I have made a new widget that has a stronger engine (and better support). Just click on my name. Soon, there will be a feature which will allow you to go to 2 player mode.
A stronger engine would definitely be nice, or better still a selection of difficulty levels. I know this is more challenging than using the inbuilt script, but it would definitely make the games more challenging. When we play a low-level player/engine, we play low-level chess: no learning, no advancement.
More important, though, would be correcting the illegal moves and promotions bugs mentioned previously.
As a time-waster, though, it's fun and I'll keep this one. Good port.
Very nice. I now have MORE games in Opera than I do for the default games that came with Windows. This is awesome. Keep on coding!
"If you are updating this Daniel it would be helpful for the game to indicate who has won, and maybe make it a wee bit harder with a few Levels." >>Also make an alert to the user that they are in check if they attempt to make a move which does not take them out of check.
"One bug/overlooked rule is that the CPU will castle out of check, which is illegal in chess. I'm not sure if the player can do this." >>The Player can do this as well.
Sorry - but this is a very poor game of chess. It's like playing a 3 year old. That doesn't make it good - it makes it silly. And I haven't played chess in about 10 years and was never any good when I did.
I enjoyed playing - even though I won every time. Having the game easy has advantages too -this is great for one's confidence and doesn't become a marathon event.
If you are updating this Daniel it would be helpful for the game to indicate who has won, and maybe make it a wee bit harder with a few Levels. Thanks again a great addition to widgits very clever indeed !! .... Lara
By seremina, # Jul 22, 2008 3:21:58 AM
Plus I keep beating it...
By computermind, # Jul 14, 2007 0:54:19 AM
By smartboyathome, # Mar 22, 2007 11:25:09 PM
By wishcj, # Mar 2, 2007 9:26:15 AM
By hysteriia, # Jan 1, 2007 5:11:14 AM
By neitakk, # Nov 15, 2006 10:11:20 PM
AI should bring out the other horse first.
By eestlane, # Nov 1, 2006 2:20:58 AM
More important, though, would be correcting the illegal moves and promotions bugs mentioned previously.
As a time-waster, though, it's fun and I'll keep this one. Good port.
By elskan, # Oct 28, 2006 8:29:37 PM
The ComboBox 'Promote to' seems to have no effect. I don't want queens always...
By 93Current, # Sep 6, 2006 1:15:25 AM
1. d2-d4 d7-d5
2. c1-f4 b8-c6
3. g1-f3 e7-e5
4. f3-e5 c6-e5
5. f4-e5 g8-e7
6. e2-e3 c7-c5
7. f1-b5 c8-d7
8. d1-e2 d7-b5
9. e2-b5 e7-c6
10. b1-d2 c5-d4
11. e5-d4 f8-d6
12. d4-g7 d6-h2
13. g7-h8 h2-d6
14. 0-0-0 -> invalid move, but it isn't!
I hope you (the programmer) can find the error.
P.S.: Essentially I would play different. The moves only should show the logical error.
By 93Current, # Sep 3, 2006 0:39:32 AM
There are 2 logical errors:
1. If you set the King in Chess there can not follow a castling (0-0 or 0-0-0). (see: By odysseyandoracle, 17. February 2006, 20:52:17)
2. Sometimes if I play White the machine says 0-0-0 is an invalid move but it definitely isn't. I can not find an analogy till now.
By 93Current, # Sep 1, 2006 0:17:05 AM
By Michaeldee, # Jul 11, 2006 2:51:02 AM
"If you are updating this Daniel it would be helpful
for the game to indicate who has won, and maybe make
it a wee bit harder with a few Levels."
>>Also make an alert to the user that they are in check if they attempt to make a move which does not take them out of check.
"One bug/overlooked rule is that the CPU will castle out of check, which is illegal in chess. I'm not sure if the player can do this."
>>The Player can do this as well.
By IceArdor, # Jul 5, 2006 8:19:38 AM
By Abavus, # Jul 4, 2006 3:10:31 AM
By Fredd100, # Jun 28, 2006 1:46:47 AM
Sometimes the AI is a bit too suicidal, but I can live with that, because most of times AI gives you enough challenge (at least for me).
By Leevi, # Jun 23, 2006 2:08:30 PM
By piper_noiter, # May 12, 2006 1:20:47 AM
By Jakke_77, # Apr 20, 2006 2:40:46 PM
Having the game easy has advantages too -this is
great for one's confidence and doesn't become a
marathon event.
If you are updating this Daniel it would be helpful
for the game to indicate who has won, and maybe make
it a wee bit harder with a few Levels. Thanks again
a great addition to widgits very clever indeed !! .... Lara
By Lara Croft, # Mar 1, 2006 8:18:27 AM
By chesss, # Feb 22, 2006 0:14:47 AM