PDA

View Full Version : Chess released


ET
31-03-04, 14:10
OK, I think I'll let you see my game :-)
It still needs some work and I'll be doing small changes today (and after the weekend, when the winner will be known), but...
URL for KiSS:
http://kml.jacek.it.pl/cgi-bin/chess.cgi

Press 1-8 to enter the move (like e2e4) than press ENTER. You can edit your move with RETURN (deleting last character).
MENU brings you the main menu, ANGLE changes colors of background and the board. On level 0 PREV moves back and SEARCH gives a hint.

I'm sure you wonder how this works (at least I would if I were you).
So:

I do not use any gifs loaded into kiss image cache, because I would need to much of them. And this approach lets you play the game even just after browsing kml portals or playing other games.

The game has been written as a cgi script in perl. It connects to the application server (written be me in C and running on a different machine).
Application server manages chess engines.
Chess engine can be local (running on the same machine as application server) or remote (currently not used, but can be useful to distribute the load).
In future versions application server will be able to connect to internet chess game servers to let you play against humans.

My game looks very good with the bold font firmware, which can't be said about every other game.

And everything has been done using the free software, no licences have been infringed ;-)

BTW, how about the other chess game that was announced as entering the contest? I can't see it on the contest page now... :-(

Hi-Jack
31-03-04, 14:47
They revoked their entry in the Game Contest...
Only the games on the contest page are entered in the final list...

(or answered on the mails for info)
I'll be checking out Chess tonight and try to make some false moves...
Can i do a Rokade? :-)

Craig_E
31-03-04, 15:10
My game looks very good with the bold font firmware, which can't be said about every other game.

I never realised KML looked different using that firmware (i use draculas) ... how different is the text?

Big
31-03-04, 15:19
My game looks very good with the bold font firmware, which can't be said about every other game.

I never realised KML looked different using that firmware (i use draculas) ... how different is the text?

Just install FW with bold font from ET website (actul version here - http://www.jacek.it.pl/kiss/fw/283/pal/ ) and try it for yourself. :-)

Generally it's wider font so every line of text is a bit longer, so if text is in frame or something is on right side it can overlap.

ET
31-03-04, 15:20
URL for KiSS:
http://kml.jacek.it.pl/cgi-bin/chess.cgi

I meant kiss player. Clicking the link above with generic html browser is useless. It will redirect you to www.jacek.it.pl/kiss

KMLBrowser may work (I haven't checked this, but I haven't blocked this).

Craig_E
31-03-04, 15:50
Hehe, i bet you get just as many people clicking the link on a PC as visit with a KiSS player... i dunno what people expect to see!

ET
31-03-04, 16:15
I'll be checking out Chess tonight and try to make some false moves...

Of course, you can _try_ :-)
Can i do a Rokade? :-)
Sure. Move the king to the rook (ie. e1g1).

ET
31-03-04, 16:22
Hehe, i bet you get just as many people clicking the link on a PC as visit with a KiSS player...
Actually, more (with PC) :-)
I hope you don't mind the link from my game to your portal? ;-)

Hi-Jack
31-03-04, 16:56
Still missing Michal Bobran's links but i saw they are on Craig_E's portal...

Craig_E
31-03-04, 17:18
I hope you don't mind the link from my game to your portal? ;-)

I hope you don't mind me listing you on my games page :) (when i get home from work that is :D)

Craig_E
31-03-04, 20:14
I've played chess and its very good! I like it, and it seems speedy enough even tho you are using dynamic backgrounds. Well done and good luck :)

I do have one little comment, and it would be nice if the last move of the computer was highlighted in a yellow box or something so players can easily see what the computer did :)

ET
01-04-04, 00:21
I do have one little comment, and it would be nice if the last move of the computer was highlighted in a yellow box or something so players can easily see what the computer did :)
Thanks for the idea. Done. @ 23:57 :D
Next improvements after the weekend ;-)

Craig_E
01-04-04, 13:15
I know, cos i was playing at the time :D

How many moves ahead does the lowest level look?

ET
01-04-04, 18:15
I know, cos i was playing at the time :D
How many moves ahead does the lowest level look?
About 8 at the beginning of the game (after moves from the book). Sometimes more, sometimes less. It has fixed time for thinking (4 seconds at the lowest level) and it is a matter of luck how efficient alpha-beta prunning will be in a given case (as far as I understand this chess engine).
I have to fix higher levels (thinking while user moves), because it does not work as I would like. So it will be even better :)

Craig_E
05-04-04, 14:46
Are you planning on doing a stats page or something like that for PC, like when you click sokoban link? Do you keep any info on how many games have been won or lost? Its always interesting to know stuff like that, plus soon hopefully you are going to put up some scoreboards?

Just wondering :)

ET
05-04-04, 16:20
Are you planning on doing a stats page or something like that for PC, like when you click sokoban link? Do you keep any info on how many games have been won or lost? Its always interesting to know stuff like that, plus soon hopefully you are going to put up some scoreboards?
I have many plans :)
One of ideas was to assign a better, faster server for people who often win. But it seems there is no need for this, as the only one server has almost nothing to do now. Of course it may change in the future.
Statistics will be done as the first improvement.