Geertjan's Blog

  • August 14, 2005

Playing Chess with NetBeans IDE (Part 2)

Geertjan Wielenga
Product Manager
Using the wisdom of the Internet, I implemented a simple chessboard and pieces. In the illustration below, you see me in the midst of the highly original E2-E4 move (click to enlarge):

Now I need to work out how to translate FEN Strings to moves on the chessboard (and vice versa). On top of that, since I'm using an AWT JFrame, I'm not using a web application -- which is a pity because there is no Web Service Client wizard for J2SE applications... yet. (I want to use my chess game to interact with a web service that handles chess moves in FEN and returns appropriate chess responses. See the previous blog entry for details.) The Web Service Client wizard for J2SE applications is planned to be part of the next release, so I'm now even more interested in that release than I used to be. Without that wizard being available for J2SE applications, I'm going to have to implement all the SOAP stuff on my own... I'd much rather have a wizard do it for me.

Still, I'm quite pleased that I've got the chessboard and pieces all set up. Now to work out how to move those pieces programmatically...

Join the discussion

Comments ( 3 )
  • Shuky Tuesday, January 31, 2006
    Play Backgammon for free or play for money.
  • faruk Tuesday, April 4, 2006
  • wilfredo Sunday, December 24, 2006
    send me the chees' code
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.