This is the Message Centre for Post Team

Internet Chess

Post 21

Demon Drawer

The how somebody set up a page, and invite anyone interested to sign up, I'm sure Peta will help advertise it, then when you have some numbers draw the games and each of the games takes place in a forum or something like that.


Internet Chess

Post 22

shazzPRME

Agreed...but what would be really good would be able to make it pictorial... so that anyone visiting the page could see how the game was developing smiley - smiley Maybe we should go and ask Kasparov how he did it smiley - smiley
shazzPRME smiley - winkeye


Internet Chess

Post 23

Pastey

Howdy smiley - smiley
The shockwave programme wouldn't really work I'm afraidsmiley - sadface
But, I've written a little JavaScript programme that puts a chess board on a screen and allows you to move the pieces about. Now I've just got to figure out a way of getting it to save the move to the h2g2 pagesmiley - smiley

smiley - fish


Internet Chess

Post 24

Pastey

Okay, I should have a working chess board by the end of tonight smiley - smiley

smiley - fish


Internet Chess

Post 25

Post Team

Nope, sorry I spoke too soonsmiley - sadface

Pastey
smiley - fish


Internet Chess

Post 26

Post Team

It would seem that the only way to do this graphically, that I know and am capable of doing, would be to set up a userhome page and have the two players both log in as the same person, to this page.
I can set up the coding for the page so that they just have to lick buttons to move pieces and the page will refresh and update, but for the coding to work, the players both need to have authorisation to access and edit the page. Which is why they'd need to log in as such.
It could be done in a similar way as we've currently got the Post set up. One researcher name, but a few people knowing the login email and password.
If somebody wanted to play chess, then they'd just have to let us know and we could email out the login password thingy.
I could add a password security thing to each game I suppose, just to make sure that there is no player cross over.
smiley - smiley

I'll look into this, and shuold hopefully still have a working model todaysmiley - smiley

Pastey
smiley - fish


Internet Chess

Post 27

Demon Drawer

Well to get the ball rolling here's the first interested player.

[email protected]

DD smiley - smiley


Internet Chess

Post 28

shazzPRME

so...will the rest of us be able to watch??
shazzPRME smiley - winkeye


Internet Chess

Post 29

Demon Drawer

At the moment it appears to be just me playing, and I'd know all my cunning moves. smiley - smiley


Internet Chess

Post 30

shazzPRME

ROFL... it's a fairly safe bet that you will win then... unless you go for a stalemate of course... personally I like my mates fresh smiley - smiley
shazzPRME smiley - winkeye


Internet Chess

Post 31

Pastey

Very droll Shazzsmiley - smiley

okay, I said I'd have a working model by tonight, and I do. But it's not an internet ready one yetsmiley - sadface Unfortunatly my brother turned up in Ipswich without any prior warning, so that was my whole afternoon gone. And I ran into a couple of glitches. But, the good news is, the structure is now in place, the theory is sound (for once) and I think I know how it will work.
It will be graphical, as I've found a way to update a user page without haveing to bother writing any code for itsmiley - smiley The downside is that each player will have to log out of h2g2 and then log back in as a Chess Player. That way they'll have authorisation to edit the pages, although in fact all they'll have to do is click a few buttons to make their moves.
The programme I've done does not check to see if a move is a legal one, it does not (at the moment) check to see whos go it is either, but it will do, just give me timesmiley - smiley It won't check for move legality as that's a biggy and I'm only doing this in JavaScriptsmiley - smiley
I'm going to try and get something up tonight, we'll have to see, although I think it will probably be tomorrow afternoon before I've got anything workable up theresmiley - smiley
smiley - fish


Internet Chess

Post 32

Chess Player

Well, the page is set up smiley - smiley But there's not anything there yet, but that's where things will be, but I'll still be posting progress here as it were.
So, progress at the moment? Well, the grid, or rather board is set and so is the array that tells where the pieces are. The code to move a piece in in place and I'm now working on the code that asks you to confirm the move and then updates the page.
Once that is done, I'll set it up to recognise two different players and to post the moves log into a forumsmiley - smiley
Oh the funsmiley - smiley

Pastey
smiley - fish


Internet Chess

Post 33

shazzPRME

You clever little webthing you smiley - smiley
shazzPRME smiley - winkeye


Internet Chess

Post 34

Chess Player

Oh, I don't know. It's still playing up something chronic.smiley - sadface
Getting there thoughsmiley - smiley

Pastey
smiley - fish


Internet Chess

Post 35

shazzPRME

Then you will have to produce the rules Pastey smiley - smiley Are you allowing castling and en passant and all that jazz smiley - smiley
shazzPRME smiley - winkeye


Internet Chess

Post 36

Chess Player

Ummm, someone will have to explain them to me. I never use them when I play, just hte bog standard set, then there's no arguements over intrerpration of them smiley - smiley

smiley - fish


Internet Chess

Post 37

shazzPRME

smiley - smiley ok! No harm in asking smiley - smiley
shazzPRME smiley - winkeye


Internet Chess

Post 38

Demon Drawer

But they are an intrigal part of the game for development and end play.


Internet Chess

Post 39

Chess Player

Aye, but I don't know themsmiley - winkeye If you can explain them clearly enough for an idiot like me to understand, then fair enoughsmiley - smiley

Pastey
smiley - fish


Internet Chess

Post 40

Demon Drawer

Castling is the move where a King which hasn't yet moved moves 2 spaces along the back rank towards a rook, providing there are no pieces in between, and the King is not in check, moves through check, or ends up in check obviously, then the castle comes around to the square the king passed over.

En Passent. Only can happen on the move after a pawn has started with a two square advance. If after ending up adjacent to a square on which another pawn sits having moved forward two squares, on the next move and for the next move only, that pawn has the option of taking the pawn as if it had only advanced the one square in a conventional diagonal taking move.

If you need more info, just shout.

DD


Key: Complain about this post

More Conversations for Post Team

Write an Entry

"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."

Write an entry
Read more