HOME | DD

Published: 2009-09-22 01:46:47 +0000 UTC; Views: 12420; Favourites: 47; Downloads: 364
Redirect to original
Description
A new chess AI, much harder than my first one.The en passiant rule is added in this game.
To move a piece, simply click it, drag and drop it at a red tile
Update: NO LAG ANYMORE!
Related content
Comments: 88
ravennyxrayn [2013-09-14 03:26:33 +0000 UTC]
I won, playing black, first try!!!! ^.^ Mated with a queen and knight. Outsmarted the Flash using simple tactics. Interesting flash game, thanks for creating. And you're right, I experienced no lag. Cool.
👍: 0 ⏩: 0
Liquid-Grievous [2012-02-15 22:35:16 +0000 UTC]
great work..could i ask you some questions about this? program,ming i mean
👍: 0 ⏩: 0
StephenKingFTW [2012-01-03 16:36:45 +0000 UTC]
How long did it take you to make this?! @_@ It's a great program~!
👍: 0 ⏩: 0
riman [2011-06-08 16:06:37 +0000 UTC]
Yeeesssss!!! Finally I could win after being defeated twice. Hahahahahaaa!!!!!! It was really FUN! Just for my curiosity, can you recommend me a book or website about writing a chess engine for beginners, please?
👍: 0 ⏩: 1
bimmerbass In reply to riman [2020-11-24 10:38:11 +0000 UTC]
👍: 0 ⏩: 0
IamTheRealSuperman [2011-05-17 04:48:46 +0000 UTC]
This is just awesome!! Playing my favorite game on deviant art!!
👍: 0 ⏩: 0
Xtremenginer [2011-05-16 23:21:20 +0000 UTC]
Great programming man!!!!I once tried to make a C program for chess at school but it never worked out error free so u must be a really good programmer to pull it off so well.But if u ask me the AI is very easy which I defeated with my queen,2 rooks and one bishop still remaining.It would be some where around 1300 USCF.
👍: 0 ⏩: 0
Hadamo [2010-04-30 07:41:36 +0000 UTC]
Wow, this is a very nice one. I underrestimated him on the first run.
Say, May we use this for a chess-club homepage for a school project?
👍: 0 ⏩: 0
Satanasko [2010-04-15 22:27:49 +0000 UTC]
Awesome :3
I played as black. That AI is pretty much about my current skill level. It was fun defeating it.
👍: 0 ⏩: 0
D-aRiuS [2010-02-28 20:05:40 +0000 UTC]
Fantastic job. As an AS3 programmer and a chess player i really appreciate what you've done here but just a couple of issues: The lack of any sound effects and also the computer made some really obvious mistakes. I played as white twice and beat it both times. But great job nonetheless
👍: 0 ⏩: 1
veclock In reply to D-aRiuS [2010-03-01 04:16:12 +0000 UTC]
Thanks for the comment
Yup, it does mistakes, but I guess I'll make a 3rd version sometime
👍: 0 ⏩: 1
GamesFuhrer [2010-02-02 01:24:19 +0000 UTC]
This is cool. I'd like to make a chess game of my own, but I haven't found any tutorials.
👍: 0 ⏩: 1
veclock In reply to GamesFuhrer [2010-02-02 02:28:48 +0000 UTC]
I've only found 2-3 other flash chess games so I would be surprised to find any tutorials
👍: 0 ⏩: 1
GamesFuhrer In reply to veclock [2010-02-02 04:46:12 +0000 UTC]
You should make a tutorial. You could probably get paid for it.
👍: 0 ⏩: 1
veclock In reply to GamesFuhrer [2010-02-02 13:51:50 +0000 UTC]
Yes, I guess I could. I can give you a short one here:
1. Make movable pieces which follows the rules
2. In every turn, make an array of all possible moves
3. When the computer is about to make a move, decide which one by looking at them all:
- count safe pieces
- count unsafe pieces
- check which one you captured
- check which of yours could be captured
- ect ect
and then pick the move which seems to be the best!
👍: 0 ⏩: 0
Whirlwind93 [2010-02-01 22:52:26 +0000 UTC]
um... the ai got a pawn to my side and got 2 fucking queens.... glitche?
👍: 0 ⏩: 1
veclock In reply to Whirlwind93 [2010-02-01 22:56:54 +0000 UTC]
Did the pawn turn into two queens?
👍: 0 ⏩: 1
Whirlwind93 In reply to veclock [2010-02-01 23:04:43 +0000 UTC]
lol no. i just didnt know you could get a unit from that that you already have on the field.. i thought you could only get units back that have already died (his queen was still alive when he got it over)
👍: 0 ⏩: 1
veclock In reply to Whirlwind93 [2010-02-01 23:07:37 +0000 UTC]
oh, alright yes, you get a new piece when you get a pawn to the other side. You should be able to chose which you want, but since you'd like a queen in 99% of all cases, I made it turn to a queen automatically ^^
👍: 0 ⏩: 0
NpcRebelion [2010-01-29 14:47:32 +0000 UTC]
This is frickin' HARD.
I'm going to find an easier version of chess before I try this guy
👍: 0 ⏩: 1
veclock In reply to NpcRebelion [2010-01-29 15:44:34 +0000 UTC]
I have an easier, go to "Chess AI Game" in my gallery
👍: 0 ⏩: 0
Turbocharge0 [2010-01-27 19:29:36 +0000 UTC]
here's a game my freind laughed at ^^:
===ME====IT===
(white) ~> (Black)
1. e2-e4 ~> Nb8-c6
2. Ng1-f3 ~> Ng8-f6
3. e4-e5 ~> Nf6-g8
4. Nb1-c3 ~> d7-d6
5. Bf1-b5 ~> d6xe5
6. Nf3xe5 ~> Qd8-d6
7. d2-d4 ~> Bc8-f5
8. Bc1-f4 ~> g7-g6
9. d4-d5 ~> Qd6xb4
10. d5xc6 ~> Qb4xf4
11. c6xb7+ ~> c7-c6
12. b7xa6=Q+ ~> bF5-C8
13. b5xc6# ~> XD
==============
Sorry if you don't games posting (they are quite big) please feel free to hide this ^^
👍: 0 ⏩: 1
dragon0693 [2010-01-27 15:00:04 +0000 UTC]
This is awesome. not only a simple art but can be playable as well. your AI is really smart and beat me
👍: 0 ⏩: 1
veclock In reply to dragon0693 [2010-01-27 19:34:21 +0000 UTC]
Thanks hope you win sometime!
👍: 0 ⏩: 1
Turbocharge0 [2010-01-22 00:26:41 +0000 UTC]
Cool bot ^^
How many moves ahead does it calculate or does it just brute force for the current position?
Either way great job... im currently making my own chess bot in flash but I havnt got round to the programing part yet...
Keep this up!
👍: 0 ⏩: 1
veclock In reply to Turbocharge0 [2010-01-22 14:38:36 +0000 UTC]
thanks! It varies, usually it looks 3 moves ahead, but it can always check how many guards a piece has ect, so for some moves it look >3 moves ahead
I've made a java chess which beats this one. How's it going with yours? please tell me when you release it!
👍: 0 ⏩: 1
Turbocharge0 In reply to veclock [2010-01-22 23:42:00 +0000 UTC]
Well i'm not sure whether i'll ever get round to finishing it... I have like a million unfinish projects and i'm currently working on [link] but yeah if I ever get it finished we should make them play each other ^^
But now you've said you have a java based one i'm gonna have to see if I can beat that too ^^
👍: 0 ⏩: 1
veclock In reply to Turbocharge0 [2010-01-23 06:22:45 +0000 UTC]
Yes, I also have a million unfinished projects. ^^ And a million ideas which I haven't tryed out yet
But it would be great to let them play each other if you finnish your chess engine
👍: 0 ⏩: 1
Turbocharge0 In reply to veclock [2010-01-23 13:51:59 +0000 UTC]
Such is the way of the programmer...
You say you have a java base chess game... I would very much like to play it but can't seem to find it
👍: 0 ⏩: 1
veclock In reply to Turbocharge0 [2010-01-23 16:25:03 +0000 UTC]
Oh I don't have it uploaded anywhere, I don't even know if it's possible to upload applets here on dA,
but if I make it good enough it would be possible to port it to flash
👍: 0 ⏩: 1
HeHasTacoes In reply to veclock [2009-10-23 03:47:26 +0000 UTC]
Lol, no, its a 'technique' called: Sheepherding Check Mate (that's the name that my friend told me ), basically, you win in 5 moves, google for it
!
P.S. if you want to pwn normal persons on Chess, use it.
👍: 0 ⏩: 1
veclock In reply to HeHasTacoes [2009-10-23 13:50:46 +0000 UTC]
You mean scholar's mate?
Didn't find anything on the other name
👍: 0 ⏩: 1
HeHasTacoes In reply to veclock [2009-10-23 15:03:09 +0000 UTC]
Nuh, know wut imma teach u, but not now, im @ school
👍: 0 ⏩: 1
| Next =>