Jump to content


Photo

Chess (with Ai...)


  • Please log in to reply
3 replies to this topic

#1 SpiderKing

SpiderKing

    GMC Member

  • New Member
  • 49 posts

Posted 30 April 2007 - 08:40 PM

I was working on this previus summer.. but abandoned it later.. maybe Im going to continue working on it.. I will see...just remembered it might to be a good idea to post it here.

Basicaly this is a chess game in which you play as white vs a computer oponent. To make a move click your figure and click on place you wish to move it to.

DOWNLOAD: http://www.savefile.com/files/681362

Its still has lots of bugs and few things like (castling, pawn promotion, mating tehnique) are not yet done

Some bugs I noticed: knight jumps out of chessboard, pawn does illigal move, oponent refuses to move(for some resason it sometimes just "pass" the turn") and sometimes AI does a little wierd moves...

and another thing.. when you mate or get mated or game is drawn... you will usualy get an "no moves left message" .. but I guess it wont be hard to guess if that mean you won or lost :GM046:

This was my first game made with code (not D&D) so I spent many many time on it and now im interested on your opinion
  • 0

#2 mattpk

mattpk

    GMC Member

  • New Member
  • 821 posts

Posted 30 April 2007 - 09:01 PM

SORRY THIS CPU IS damn weird.

sorry for double post, mod, please delete.

Edited by mattpk, 30 April 2007 - 09:07 PM.

  • 0

#3 mattpk

mattpk

    GMC Member

  • New Member
  • 821 posts

Posted 30 April 2007 - 09:03 PM

Why is pawn allowed to attack forward? and when my pawn was beside the enemy pawn, why did he do the move of a knght?

well this would have taken lots of time, but the ai is easy and the game is rigged. Alot.

I played some more and he can't win no matter how hard i try to sacrifice.

Edited by mattpk, 30 April 2007 - 09:07 PM.

  • 0

#4 bryann380

bryann380

    GMC Member

  • GMC Member
  • 234 posts

Posted 30 April 2007 - 11:14 PM

I started a chess game two years ago but didn't work on it much... until recently. Still don't have an AI yet and was impressed with yours, although bugged as you mentioned.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users