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
発言者 seremina, # 2008/07/22 3:21:58
Plus I keep beating it...
発言者 computermind, # 2007/07/14 0:54:19
発言者 smartboyathome, # 2007/03/22 23:25:09
発言者 wishcj, # 2007/03/02 9:26:15
発言者 hysteriia, # 2007/01/01 5:11:14
発言者 neitakk, # 2006/11/15 22:11:20
AI should bring out the other horse first.
発言者 eestlane, # 2006/11/01 2:20:58
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.
発言者 elskan, # 2006/10/28 20:29:37
The ComboBox 'Promote to' seems to have no effect. I don't want queens always...
発言者 93Current, # 2006/09/06 1:15:25
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.
発言者 93Current, # 2006/09/03 12:39:32
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.
発言者 93Current, # 2006/09/01 12:17:05
発言者 Michaeldee, # 2006/07/11 2:51:02
"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.
発言者 IceArdor, # 2006/07/05 8:19:38
発言者 Abavus, # 2006/07/04 3:10:31
発言者 Fredd100, # 2006/06/28 1:46:47
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).
発言者 Leevi, # 2006/06/23 14:08:30
発言者 piper_noiter, # 2006/05/12 1:20:47
発言者 Jakke_77, # 2006/04/20 14:40:46
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
発言者 Lara Croft, # 2006/03/01 8:18:27
発言者 chesss, # 2006/02/22 12:14:47