PDA

View Full Version : Create chess application


vantran
12-05-2000, 03:39 PM
Hello everyone,

I am a chess lover, and a flash addicted so I would like to create a chess application using flash (not Java), so I can play by myself, pratice moves posted online. Hope you got the idea.

Anyway, I know this project would be time consuming since there are so many rules we have to follows, like check if the move is possible or not, check if the king is checked or not. Besides, I want to this application can record every move so people can play back or go forward the moves they already make (using duplicateMovieClip). You guys follow me?

Now the question is, who would like to join me? If I want to do this by myself, I would take a whole year to complete, and that is too long, probably then we have something better than flash, right?

So if you guys interested, please send me your ideas to [email protected] or post your reply here

Thank you

Dominic

Jesse
12-05-2000, 11:54 PM
Although I haven't updated it in a while coz I've been so busy with this and other sites, I'm afraid I beat you to it :)
http://www.flashchess.cjb.net
Multiplayer chess online. This old version was done in Flash 4. The Flash 5 version which I need to complete (when I get the time) checks for check and check mate and dissalows jumping pieces, it can even encorporate en passe ... I'll get around ito it eventually. Busy busy busy

Cheers

Jesse

vantran
12-06-2000, 01:10 AM
Hello Jesse, whoa you must be really good at this Flash thing, right?
Just want to ask you a favor, since you already done with that, can I take a peek at the source code, just want to see how you do all the checks and all

All my respect!

vantran
12-06-2000, 01:15 AM
Hey, Jesse,

What do you do to have it play online. Using Generator? I wasn't thinking about playing online. And now I see all this, heheh I would learn from you. What does it take to have you make a tutorial on that project?

Looking forward to hearing from you soon

Jesse
12-06-2000, 09:49 AM
The multiplayer mechanism in that one isn't too hard to comprehend. I just used temp files as databases (because I started it in Flash 4), and load up data to and from a temp file ebtween moves. That's why you require a session number before you can begin. You've re-aroused my interest in it actually and if I get a moment to spare I'll try and fix up the Flash 5 version to a working stanard, but it sort of needs to be remade from scratch becaue the Flash 4 version uses Call a lot which was really outdate by custom functions in Flash 5.
I can help you out with the concepts, but I never give out the source of my completed projects as a rule of thumb
It may be a useful tutorial to make though, for two player interactive games... I guess more people are getting into that sort of thing now... I'll look into it.

Cheers

Jesse

vantran
12-06-2000, 12:48 PM
Yeah, that's cool.
I would love to have you helping me out with the concepts for playing online, which I have never thought of before. About making the game is pretty straight forward, just drag and drop, but checking for illegal moves is a bitch. Got to think of all the possible mistake.

Anyway, looking toward to your tutorials.

Cheers

PS: Hey can you answer me about the print question I posted here?

dkproject
07-06-2001, 11:16 PM
You can also practice chess yourself by opening two browser windows and logging to the same game with different sides of the board. Great work Jesse!

sac
07-07-2001, 09:37 AM
Hi there,
I didn't know you are only 17 Jesse.(me too:))
But the game has bugs I think, will you put a tutorial of connecting the two site in a game and sending the movements from the line?
To be honest must be a hard work becouse there isn't a game in flash that you can get help from it.
Good job,
Waiting your tutorials...
Kind Regards,
SAC

Jesse
07-07-2001, 10:00 AM
it's buggy because:
a) it was made in flash 4
b) I was still sick when I made it
c) I never really finished it because I got busy
d) it was made in flash 4 ;)

I'm not 17 any more, I'm 18 now. This is an old thread :)
I've not written a tutorial on this and I probably won't until I know XML, as that would be a lot better for this sort of application than normal text files.