+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: My chess application on X10

  1. #1
    fguy64's Avatar
    fguy64 is offline x10 Sophmore fguy64 is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    218

    My chess application on X10

    Greetings. I have written a chess program and set it up on X10. It's not particularly strong right now, but I hope to change that in the future. It's written in Sun Java.

    I think this probably will be interesting to programmers who wish to to work on chess programming as a hobby, this project is a long long way from being competitive with any commercially available software that is out there.

    Thanks.

    http://fchess.x10hosting.com

  2. #2
    dhruv227 is offline x10 Lieutenant dhruv227 is an unknown quantity at this point
    Join Date
    Dec 2008
    Location
    da capital
    Posts
    390

    Re: My chess application on X10

    I hated that long lecture type intro on the given webpage but i liked the chess, anyways i won the game but i hated the graphics.

  3. #3
    fguy64's Avatar
    fguy64 is offline x10 Sophmore fguy64 is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    218

    Re: My chess application on X10

    Quote Originally Posted by dhruv227 View Post
    I hated that long lecture type intro on the given webpage but i liked the chess, anyways i won the game but i hated the graphics.
    Yeah, most people hate to read any kind of instructions or description or manual about software, that's why I put the link to the game at the top of the page.

    Duly noted on the graphics. The pieces are kind of lame. I'm a relative beginner at programming, but a life long chess enthusiast, and this program is a project to making learning programming more fun.

    The chess engine itself is very weak. anyone above beginner level should be able to defeat the program.

    thanks for your comments.I intend to continuously improve the program, it will probably be a lifetime project.

  4. #4
    trike97 is offline x10Hosting Member trike97 is an unknown quantity at this point
    Join Date
    May 2009
    Posts
    5

    Re: My chess application on X10

    It looks good, but the computer is too easy. Played 3 games, and twice he moved his queen to front row of my pawns, and one game i managed to queen a pawn moving no other pieces except the pawn.

  5. #5
    fguy64's Avatar
    fguy64 is offline x10 Sophmore fguy64 is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    218

    Re: My chess application on X10

    Quote Originally Posted by trike97 View Post
    It looks good, but the computer is too easy. Played 3 games, and twice he moved his queen to front row of my pawns, and one game i managed to queen a pawn moving no other pieces except the pawn.
    Thanks trike97, yeah you are right, the program is too easy as an opponent. I kind of doubt it will ever be competitive with other established chess programs, but you never know. That's one of the things I intend to improve over time. I have a lot of ideas for improving the playing strength, but I wanted to get started by posting something that worked, and then proceed from there.

    This is a longterm project for me, I hope to connect with java programmers who would be interested in collaborating on a project like this.

    Trike, do you recall if you were playing the program with the "think" checkbox selected? When unselected, the program plays randomly, but when selected, there is a simple material algorithm which should prevent the program from just giving up its queen.

  6. #6
    zen-r's Avatar
    zen-r is offline Lord Of The Keys zen-r is an unknown quantity at this point
    Join Date
    Aug 2008
    Location
    Location,Location. Nothing else matters ....apparently.
    Posts
    1,937

    Re: My chess application on X10

    Hehe. Thanks for this. Your program tempted me into playing chess again for the first time in years!

    My moment of glory after winning was short-lived when I remembered that I had been playing in the most easy of your 3 levels!

    You have done really well to program the game even to this level. Chess is notorious for the complexities required to work out long-term & far-reaching strategies, so I don't envy you your task of trying to refine the game play.

    An easy upgrade I might suggest would be the addition of an optional timer, of the type used in proper competitive chess. You could keep it simple & go for a basic, automatic digital affair, or really go to town & have fun designing the graphics for the old-fashioned analogue push-button type - and require the player to remember to push the button themself after their move, as per the real game. Annoying when one forgets to stop the timer!


    Please click my Reputation button (at the corner of this post) & make me -it costs you nothing!

    If I've traded services/credits with you, please remember to leave iTrader Feedback. Thanks.
    Last edited by zen-r; 05-07-2009 at 01:32 PM.
    For great installation & servicing of Audio Visual systems & equipment
    inc. LCD & Plasma Screens, Loudspeakers, Projectors, Aerials & Satellite Dishes, Lighting effects & controllers, Hifi, Amplifiers, Surround Sound, Home Cinema & Video etc
    -: based around Plymouth, Devon, or anywhere in the southwest of the UK, visit :-

  7. #7
    fguy64's Avatar
    fguy64 is offline x10 Sophmore fguy64 is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    218

    Re: My chess application on X10

    thanks zen-r. Sure A timer is a good idea, it could be programmed as an option, people can use it if they want. The whole point is to come up with ideas where I can learn something about programming at the same time.

    A biggie will be to introduce threads. If you are familiar with threads in programming, then by using a thread I can make sure the computer is thinking and calculating even when it is its turn to move.

    Improving the play will be tough. A good chess program uses recursive programming to calculate several moves ahead. I find recursion very difficult wrap my head around.

    I'm also interested in modifying the site so that people can log in, and play against me or other opponents. It wouldn't be real time, but the games would be saved in a database. So you can log in and make a move when you have time, kind of like postal chess.

    All this should keep me going for a few years.

  8. #8
    tony2010forever is offline x10Hosting Member tony2010forever is an unknown quantity at this point
    Join Date
    Mar 2009
    Posts
    21

    Re: My chess application on X10

    nice site

    but you must to make header more active to not be bored from this

  9. #9
    fguy64's Avatar
    fguy64 is offline x10 Sophmore fguy64 is an unknown quantity at this point
    Join Date
    Apr 2009
    Posts
    218

    Re: My chess application on X10

    Quote Originally Posted by tony2010forever View Post
    nice site

    but you must to make header more active to not be bored from this
    Thanks, but I don't understand your comment. What do you mean by "header"?

  10. #10
    Westcoast-Games is offline x10Hosting Member Westcoast-Games is an unknown quantity at this point
    Join Date
    Mar 2009
    Location
    UK
    Posts
    19

    Re: My chess application on X10

    Ah yes ...chess.

    Ages since I played, but you game was indeed fun.

    Programming wise it all seemed to worked, and as other mentioned - graphics, graphics, graphics.

    That aside - keep up the good woork!
    Westcoast-Games - Independent Game Developers


+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Extreme Vulnerabilities
    By RockiMoon in forum Graphics & Webdesign
    Replies: 0
    Last Post: 01-21-2009, 04:11 AM
  2. Is Chess a sport?
    By Perfect7 in forum Crossfire
    Replies: 53
    Last Post: 06-12-2008, 04:07 PM
  3. Replies: 2
    Last Post: 03-15-2008, 01:10 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers