aspose file tools*
The moose likes Meaningless Drivel and the fly likes Chess Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Meaningless Drivel
Bookmark "Chess" Watch "Chess" New topic
Author

Chess

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Anyone would like to play chess with me, now?

Pushkar Choudhary
Rancher

Joined: May 21, 2006
Posts: 425

Ok. I just captured your queen!
Muse Ran
Ranch Hand

Joined: Sep 17, 2008
Posts: 317
checkmate


Tomorrow will surely be a new day!!!
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14266
    
  21

I know the rules, but I don't have the patience to learn and play chess really well.

One of the first Java programs that I wrote, together with a colleague in 1998, was an applet that could play chess. You could play against the computer or against another person. It wasn't hard to write an algorithm that could play chess better than myself...


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8829
    
    5
Chess isn't a bad game, but if you're going to spend any of your precious time playing games, you ought to be playing Go!

q16...


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11402
    
  16

Go is to chess what chess is to tic-tac-toe.

I just wish I had the time to learn to play


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Ok. I just captured your queen!


No big deal. I can get many others...


Muse Ran wrote:checkmate


Not yet... It's the king which has to be died for checkmate.
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Bert Bates wrote:Chess isn't a bad game, but if you're going to spend any of your precious time playing games, you ought to be playing Go!

q16...


I don't know how to play Go.

We have a chess board in our office so got addicted of it now.
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Jesper Young wrote:I know the rules, but I don't have the patience to learn and play chess really well.

One of the first Java programs that I wrote, together with a colleague in 1998, was an applet that could play chess. You could play against the computer or against another person. It wasn't hard to write an algorithm that could play chess better than myself...


I haven't found a good chess program (ofcourse free one), the one I have is very poor. I win most of the times (I undo it if something goes wrong ;)).
Vikas Kapoor
Ranch Hand

Joined: Aug 16, 2007
Posts: 1374
Jesper Young wrote: It wasn't hard to write an algorithm that could play chess better than myself...

I and my friend has developed one player chess for IPTV platform. We initially thought to implement the well know tree algorithm but due inadequate space (set top box with total of 32MB memory and limited processing power) we couldn't. We decided to decide our own set of rules (means our own algorithm). and it wasn't bad.

How efficient was your algorithm Jesper?
Pushkar Choudhary
Rancher

Joined: May 21, 2006
Posts: 425

ankur rathi wrote:
Ok. I just captured your queen!

No big deal. I can get many others...

Only 8 more. That too, if any of your pawns reach the other end of the board. But I've captured all your pawns too..!!
Bad luck..!!
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

I haven't found a good chess program (ofcourse free one), the one I have is very poor. I win most of the times (I undo it if something goes wrong ;)).

Play online with Babaschess.


[My Blog]
All roads lead to JavaRanch
Prabhat Gupta
Ranch Hand

Joined: Jan 22, 2008
Posts: 135
Nowadays i seldom play chess. But in my college days i used to play it with software called 'ChessMaster'. It was really superb programs that includes all things that you need to know regarding chess.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14266
    
  21

Vishal Pandya wrote:How efficient was your algorithm Jesper?

Well, it was in 1998, when most PCs didn't have much more than maybe 32 or 64 MB RAM. It was a simple algorithm, looking at all possible moves from a given situation, and then all possible moves after those moves etc., evaluating the value of each move by looking at the board after the move to see how well the player was doing, up until a fixed number of moves ahead. The number of possibilities with chess quickly explodes, it's hard to let the computer "think" ahead more than a handful of moves.

It probably wasn't a super strong program, but it worked well enough to have fun with.
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Christophe Verré wrote:
I haven't found a good chess program (ofcourse free one), the one I have is very poor. I win most of the times (I undo it if something goes wrong ;)).

Play online with Babaschess.


Thanks Christophe. Babaschess is very good.
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Prabhat Gupta wrote:Nowadays i seldom play chess. But in my college days i used to play it with software called 'ChessMaster'. It was really superb programs that includes all things that you need to know regarding chess.


Yes, chess master challenge is good but only 60 minutes free trial.
nick kaushik
Ranch Hand

Joined: Sep 25, 2009
Posts: 48

Ankur if you want to play.....i was intra-college chess champion .& i like it a lot....


"ye shall know the truth & the truth shall set you free..."
ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
nick kaushik wrote:Ankur if you want to play.....i was intra-college chess champion .& i like it a lot....


Hey Nick, you are scaring me.

Lets play sometime.
frank davis
Ranch Hand

Joined: Feb 12, 2001
Posts: 1479
http://www.freechess.org/ is great site to get a game with all levels of players and with different variations of chess.

Also, they have live discussion channels to discuss drivel or non-drivel.


Ryan McGuire
Ranch Hand

Joined: Feb 18, 2005
Posts: 1010
    
    3
Bert Bates wrote:
q16...


By the way, Bert, in case it wasn't obvious, our previous game is pretty much hopeless for Black. If we were just playing plain old win-or-lose, I'd resign. If we're playing a dollar a point, then I might stay in it to see how few I can lose by. I'll have to see if I can resurrect the image files of the current state of that game.

Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8829
    
    5
Ryan that would be great - I'd forgotten about that game but I'd love to see the image of where we left off!
Leandro Coutinho
Ranch Hand

Joined: Mar 04, 2009
Posts: 417
ankur rathi wrote:
Jesper Young wrote:I know the rules, but I don't have the patience to learn and play chess really well.

One of the first Java programs that I wrote, together with a colleague in 1998, was an applet that could play chess. You could play against the computer or against another person. It wasn't hard to write an algorithm that could play chess better than myself...


I haven't found a good chess program (ofcourse free one), the one I have is very poor. I win most of the times (I undo it if something goes wrong ;)).

You can play for free here: http://www.shredderchess.com/play-chess-online.html

What the name of this game? Checkers?
http://www.youtube.com/watch?v=b2QQwf2WDkk&feature=related
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Chess