This is a Journal entry by Chess Player
All the old stuff
Chess Player Started conversation Mar 8, 2000
This will, when it's finished, be a centre on h2g2 where researchers from all over the globe can come and play chess with each other. Currently I'm still writing the code for it. It's now at the stage where one game is possible at a time. But I'm now working on a user password system so that multiple games can be played. When that's done I'll work on some other things as well. One thing I am intending to do is improve the graphics for the pieces, so that you can actually see the board behind them, but I wanted to make sure the coding worked first Pastey
The password system is now in place, so that's one step closer to being automated. The programme itself now actually works, and can be used to play a game. But to do so you need to have your username and a password registered in an array I keep off site on a different server. Maybe in time I'll find a way around this, but untill then it's not that much hassle. I was hoping to get this finished this weekend, but I've come down with a bit of a dose of flu. Nothing too serious, but it has meant I've found it difficult to concentrate on anything for any length of time. I have found a problem with the coding though that prevent Netscape browsers from being able to play the game, which is weird because I learnt JavaScript from the Netscape documentation. But on the plus side, I've found a quicker, and simplier way to call the different checks the programme does. But again on the downside, I've found a bit of a boo-boo that I hadn't even thought about. But, until you test these things, how are you to know? It shouldn't be a problem to fix, it's all down to the way it updates the page and where it calls the page number and details up from. Currently it calls them from the main rewriting script, that's fine for one match at a time, but for multiple matches to be played at once, using the same script, I need to get it to call it up from the match page, like it already does for the location of the Pieces and the Players names. So, that in itself shouldn't be hard. It all depends on how h2g2 assigns numbers to pages, and if I can get it to automatically grab the newly assigned number and put it in the code. If not, well, I'm sure I'll think of something Pastey
Well, braving the flu I've sorted out the Netscape Bug. It was all down to the way Netscape reads list options as arrays rather than direct inputs*?* Also I've fixed it so you can now only move your own pieces, and not your opponents, Sorry :¬) Now to work on the automagic new game creation thingy :¬)
Well, it's almost there now :¬) I'm just sorting out the final few things and it'll be ready to go!
Key: Complain about this post
All the old stuff
More Conversations for Chess Player
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."