i am going to use this chess layout to make an AI that does legal moves and won't make a move unless it will be safe there. i have come up with a mathmatical way to compute an error-free strategy.
A few things wrong with that. 1. What if there are no safe places to move? 2. Scratch is not powerful enough to create an error-free chess program. 3. That would take a VERY long time to do.
Amazing, I didn't think someone would pick up the challanges that quickly. I'm curious if this project and its challanges will eventually seed a 'real' bad AI-chess.
Challenge #5: Create a collection of chess puzzles (where it gives you a starting position and a goal -- e.g., "checkmate in two moves") where you can press a button and see the answer played out.
BlueGhost3: Yeah, a real chess game program would be WAY beyond what you could reasonably do in Scratch. But I bet someone could come up with a very bad chess playing AI that would nonetheless perform legal moves.
Paddle2See: Colorful sprites are always encouraged.
The graphics are a tweaked version of pieces I found on Wikipedia Commons (which are freely distributable, and which I highly recommend for finding sample graphics). Best of luck training your cat how to play. If I ever make a version where my cat plays, she'll have to challenge your AI to a match :)
Where do you get your great graphics anyway? Really sharp. I'm looking forward to trying a couple of those challenges. I already have a random cat...just have to teach it chess, how hard can that be?
This is just a basic chess set, but I issue an open challenge for people to add to it as follows:
Challenge #1: Add a manual chess clock (preferably one of those cool Russian ones; Challenge #2: Add a chess clock that can sense when someone has moved, and change automatically; Challenge #3: Somehow indicate legal moves when the mouse is placed over a piece; Challenge #4: Only allow legal moves of the pieces; Challenge #5 (boss level challenge): Build in some kind of basic AI (artificial intelligence) so you can play against the computer (this is extremely difficult, even if you want to simulate a kitten making random legal moves :)
i have figured how to make the AI, but i haven't yet goten my hands on a chess game with legal moves. looks like i'll have to make everything myself...
Download the 32 sprites and 97 scripts of "Chess Set v1.0" and open it in Scratch
Project Notes
To mark the death of the once-great Bobby Fisher, I put together this basic chess set with moveable pieces. Press green flag to set up pieces. There is no intelligence here, just a basic set of pieces and a board. I challenge people to build on this project as mentioned in the Comments.
Comments
You need to be logged in to post comments
Add a Comment
I'm going to do all the challenges :). The AI is going to be random legal moves, though.
Nice. I may use this for my Pokemon chess game.
of course1
chalk to you mind if I make a chess game out of this?
of course i don't mind! that's why i posted it. let me know what you come up with.
(view all replies)i am going to use this chess layout to make an AI that does legal moves and won't make a move unless it will be safe there. i have come up with a mathmatical way to compute an error-free strategy.
A few things wrong with that. 1. What if there are no safe places to move? 2. Scratch is not powerful enough to create an error-free chess program. 3. That would take a VERY long time to do.
good idea!
Quite frankly, you are a complete and utter GENIUS!
I'm going to attempt to add AI.
Hmmmm now that 1.3 is here I wonder....
... Seems like nobody will make a full... I can try, but I'm not the best programmer.
use 1.4
tcb: of course you can use it for anything; you don't need my permission!
i hope you let me use this
I love the sprites! bad the game is not finished >.<
Its great!
awesome! I love it.
glichy
Check out my response to challenge... 6?
yo check out my AI gallery. Have you seen the tic tac toe game? Totally awesome.
do you play proffessional chess?
thanks for advice on fast flight.I think you are right about the use of costumes for smoother frame rates
cool
srry nvm
i made a chess timer(manual) (link to project)">(link to project)
...
Amazing, I didn't think someone would pick up the challanges that quickly. I'm curious if this project and its challanges will eventually seed a 'real' bad AI-chess.
i now have the AI needed, but i can't seem to get legal moves only. i can't figure out an efficient way of checking legal moves.
Awesome job on #3, Paddle2See.
Well, I have something for #3. It's pretty slow, but I think it works. (link to project)">(link to project)
Challenge #5: Create a collection of chess puzzles (where it gives you a starting position and a goal -- e.g., "checkmate in two moves") where you can press a button and see the answer played out.
BlueGhost3: Yeah, a real chess game program would be WAY beyond what you could reasonably do in Scratch. But I bet someone could come up with a very bad chess playing AI that would nonetheless perform legal moves. Paddle2See: Colorful sprites are always encouraged.
I hope it doesn't violate the rules of the challenge if the costumes become a little more colorful.
good idea, but a real chess game might be too large
The graphics are a tweaked version of pieces I found on Wikipedia Commons (which are freely distributable, and which I highly recommend for finding sample graphics). Best of luck training your cat how to play. If I ever make a version where my cat plays, she'll have to challenge your AI to a match :)
Where do you get your great graphics anyway? Really sharp. I'm looking forward to trying a couple of those challenges. I already have a random cat...just have to teach it chess, how hard can that be?
Nice! I beat it easily as the other side never moved a piece. Make another level!
I love chess. I'm a county champion (so far but I'm going to Nationals!!!)
Hello. I am the reincarnation of Tetra-Titan. Really, this is just another account of mine.
This is just a basic chess set, but I issue an open challenge for people to add to it as follows: Challenge #1: Add a manual chess clock (preferably one of those cool Russian ones; Challenge #2: Add a chess clock that can sense when someone has moved, and change automatically; Challenge #3: Somehow indicate legal moves when the mouse is placed over a piece; Challenge #4: Only allow legal moves of the pieces; Challenge #5 (boss level challenge): Build in some kind of basic AI (artificial intelligence) so you can play against the computer (this is extremely difficult, even if you want to simulate a kitten making random legal moves :)
i have figured how to make the AI, but i haven't yet goten my hands on a chess game with legal moves. looks like i'll have to make everything myself...
(view all replies)