This is great- but why don't you make it so that you can only move the pieces legally. Some thing like when mouse released if not touching colour orange (go to where ever it was before it was first.)
i think this would be awsome to try and make into atlest a 2player game, at the moment the sheer size and complexity of an AI would create way to make bugs on the scratch player to make it worth giving a shot. still, impresive, mabye shorten the wait after keeping the mouse idle though?
Yeah, the wait is a bit too long. And I agree with you on the AI...although it is closer to being possible now that we can "remember" more stuff with lists.
I'd love to but right now I really don't have the time :( Scratch has really got me working hard...between the Forum Moderator stuff, preparing for the Conference in a week, and teaching Scratch classes at a local Summer Camp, I'm really stretched pretty thin right now. Things should be better after the conference. Sorry to be less than helpful.
Let's try again, in shorter pieces. This looks like a great game! The Scratch version would have to be simpler...first off, all you could do would be 2 player on the same computer, no internet play.
Nice paddle! Is it ok if I use it? I would like to make a very simple version of somthing called quadradius... ...You should try it! Well I am still working on it. Anyway just wondering if I could use it. I think I have everything figured out. One of my friends is going to help me. He doesn't have a scratch name though...
I don't know if you can or not, that depends on your skill. You certainly have my permission to do anything you want with this project. That would be very cool if you could make a functioning chess game!
I don't think it would be that hard to add these 3 things:1, it will tell you if its an illegal move or not. 2, it will hide the piece if you kill it. 3, it has tells whos turn it is. It would be hard to make a CPU but this should not be that hard.
Ahh, chess, the greatest boardgame ever invented. I'v beaten by dad (a LOT of years older than me), by brother(a few years older than me), and in a chess tournament with 3rd, 4th, and 5th graders, I got into the top 24(when I was in 4th).
whoa, nice work! Now make a full chess AI! :) hmmm...There might be a way to do these evaluations recursively and record possible moves, counter moves and ranking them, using the space on the sides to record in a pixel array. heh. man...
hey paddle Nice game, I like how you made it seem like your playing against another player. Im gona try to make a Easter egg hunt But i need To download your game "Buried TReasure" I will try to make it like you wanted it Ok
Cool but it lets you cheat. you can move the king 2 steps or over but the king can only move 1 space at a time. See if you can solve this problem.
www.EGEmedia.co.uk
This project is great! I love the color theme. Red with olive-grey looks fantastic! The waiting may become boring though. Maybe you should try this system: When you click a unit, it "activates" and it's available moves are shown. You can then click on a valid space to move your piece or click on the unit to "disactivate" it. I haven't checked the code, so sorry if it sounds too hard to implement.
Yah, making an AI without using some major language like flash,java,c# ect. might be extrenly difficult but I will try... might take a while if the computer acctually does anything besides random moves.
Masterock - Yes, I am in complete agreement with you. Making a version that restricts movement to valid moves only should be pretty easy to do, based on what I have here. I just haven't done it - yet.
yes i auppose you are right paddle2see but I did see chalkmarrow's project first. I don't understand how you rounded the peices to the neareast square but you could make an old x and y and a new x and y. When you grab a peice and you touch out of the valid moves area it will move you back to the old x and y. If you do go on a valid square it will move you there and update the old x and old y. Taking peices is a different much to complicated for me to understand thing but turns would work.
Download the 34 sprites and 150 scripts of "Chess_Set_v1.0" and open it in Scratch
Project Notes
This is NOT a fully functioning Chess playing game! All it does is show valid moves for any piece when the mouse is held idle over it for a few seconds.
This project is a response to Chalkmarrow's Chess Challenge #3 - Show valid chess moves for each piece when the mouse is held over it. In this project, there is a bit of a delay so wait a few seconds and the mouse has to be motionless to trigger the action.
This version knows only simple moves, no fancy rook-king exchange moves!
There's nothing particularly elegant here, just brute force coding. The code length could probably be reduced by taking advantage of symmetry. And I would appreciate any improvements to the Mouse Idle detection routine, it takes too many global variables to implement, there's got to be something simpler.
Comments
You need to be logged in to post comments
Add a Comment
But why the delay?
Scratch is *very* slow...and this project was made before there were lists so everything is being done with color sensing.
cool!
Ah, as I suspected, castling isn't included. Though it must be a bit hard to do that...
It would be nice to add that in - pretty difficult though.
(view all replies)Awesome! ^_^boogawk
tomhartley, why dont u download the game and try fixing the problem. Great game
This is great- but why don't you make it so that you can only move the pieces legally. Some thing like when mouse released if not touching colour orange (go to where ever it was before it was first.)
Good idea :)
white win
:) wow
I could make an AI. But it could only look two moves ahead without making your computer perform like ENIAC.
i think this would be awsome to try and make into atlest a 2player game, at the moment the sheer size and complexity of an AI would create way to make bugs on the scratch player to make it worth giving a shot. still, impresive, mabye shorten the wait after keeping the mouse idle though?
Yeah, the wait is a bit too long. And I agree with you on the AI...although it is closer to being possible now that we can "remember" more stuff with lists.
Well 1.3 is here so what do you think about an update!? (Just Kidding)
It's tempting! With the lists, it should be possible to maybe make at least a bad chess player. Maybe start with checkers and work up ...
Wow! I used to play chess and I still do but I stopped taking lessons when I was in 1st grade...
You've pretty much covered the basics... it would be great if you could create this into a full-fledged game of chess!
Yes, but maybe you can do it a simpler way...my approach may not be the best approach. It was just a way that I thought I could make work.
Maybe that idea will seem more possible when version 1.3 comes out!
(view all replies)Oh one more thing: My player is Rabbit, I was wondering if you could play with me.... So we could talk about quadradius and how to make it.
I'd love to but right now I really don't have the time :( Scratch has really got me working hard...between the Forum Moderator stuff, preparing for the Conference in a week, and teaching Scratch classes at a local Summer Camp, I'm really stretched pretty thin right now. Things should be better after the conference. Sorry to be less than helpful.
Heres the link to quadradius: http://quadradius.com/quadradius/index.html Please tell me if its possible to make.
The pieces themselves are going to be interesting as they can do a lot of different things...Drag, Drop, Appear, Disappear, Invoke Powers and so on.
(view all replies)Let's try again, in shorter pieces. This looks like a great game! The Scratch version would have to be simpler...first off, all you could do would be 2 player on the same computer, no internet play.
I left a long comment and it completely disappeared! Bummer!
Nice paddle! Is it ok if I use it? I would like to make a very simple version of somthing called quadradius... ...You should try it! Well I am still working on it. Anyway just wondering if I could use it. I think I have everything figured out. One of my friends is going to help me. He doesn't have a scratch name though...
Hi emily3678, nice to hear from you! As always, any of my stuff can be used by anybody...just take what you want.
this is really cool
Can i use this to make a full functioning chess game?
I don't know if you can or not, that depends on your skill. You certainly have my permission to do anything you want with this project. That would be very cool if you could make a functioning chess game!
(view all replies)Good work Paddle2see
Ok. Just its a bit complex. I'll study it and then maybe add the stuff.
Lucario621 - Please feel free to add whatever you want to it! I am not really interested in adding anything more to it at the moment.
I don't think it would be that hard to add these 3 things:1, it will tell you if its an illegal move or not. 2, it will hide the piece if you kill it. 3, it has tells whos turn it is. It would be hard to make a CPU but this should not be that hard.
That's great, Lucario621. I was never terribly good at chess, I'm too impatient I guess. But I do enjoy the game and admire people that play it well!
Plus in the tournament there were 106 kids.
Ahh, chess, the greatest boardgame ever invented. I'v beaten by dad (a LOT of years older than me), by brother(a few years older than me), and in a chess tournament with 3rd, 4th, and 5th graders, I got into the top 24(when I was in 4th).
"meatpie" (see project for instructions) (link to project)
I just won using my horse on the first move. Sweeeet
this is cool!
AddZero - There might indeed! Knock yourself out....I'm not that much of a chess fan!
whoa, nice work! Now make a full chess AI! :) hmmm...There might be a way to do these evaluations recursively and record possible moves, counter moves and ranking them, using the space on the sides to record in a pixel array. heh. man...
awesome, hi sidharth
hey paddle Nice game, I like how you made it seem like your playing against another player. Im gona try to make a Easter egg hunt But i need To download your game "Buried TReasure" I will try to make it like you wanted it Ok
omg! and it even shows that you can't capture your own piece!
lol!
AWESOME!
awesome!!
Awesome!!!! I love it! Could you make a real chess game? it would be awesome if you could! :D It even shows the moves to capture a piece!
check out my AI gallery. Leave ideas and comments
i do not get it
Right...this is a response to challenge 3. You are refering to challenge 4 (I think).
Cool but it lets you cheat. you can move the king 2 steps or over but the king can only move 1 space at a time. See if you can solve this problem. www.EGEmedia.co.uk
awesome!!!!
Hey come check out a really cool project!!!!!P.S. I love your project!!!(link to project)
Are we supose to play with 2 people? Anyway I like it.
wow one month. I come back and you have ten new projects your good
That would probably work very nicely.
This project is great! I love the color theme. Red with olive-grey looks fantastic! The waiting may become boring though. Maybe you should try this system: When you click a unit, it "activates" and it's available moves are shown. You can then click on a valid space to move your piece or click on the unit to "disactivate" it. I haven't checked the code, so sorry if it sounds too hard to implement.
Yah, making an AI without using some major language like flash,java,c# ect. might be extrenly difficult but I will try... might take a while if the computer acctually does anything besides random moves.
AI stands for Artificial Intelligence - which is writting programs for computers to make them act like a human opponent. Good luck with the game!
I will make a game with this if I can... also, what does Al mean?
I win!!
cool
Not too seriously...I don't see how you could do a half-decent job without arrays. Plus, I'm not all that fond of chess. How about you?
Nice work. Are you thinking of taking a stab at the "AI challenge"?
That's nice, I'm glad somebody is finding a use for it. Anybody want to expand it into a chess AI?
I really like this game, even it is not a full chess game, I used it to teach my kids on the pieces movements.
Thanks!
well it is cool either way.
Masterock - Yes, I am in complete agreement with you. Making a version that restricts movement to valid moves only should be pretty easy to do, based on what I have here. I just haven't done it - yet.
yes i auppose you are right paddle2see but I did see chalkmarrow's project first. I don't understand how you rounded the peices to the neareast square but you could make an old x and y and a new x and y. When you grab a peice and you touch out of the valid moves area it will move you back to the old x and y. If you do go on a valid square it will move you there and update the old x and old y. Taking peices is a different much to complicated for me to understand thing but turns would work.