LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices

Reply
 
Search this Thread
Old 07-20-2009, 07:51 PM   #1
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,608

Rep: Reputation: 45
GNU Chess play against crafty


hi

I'd like to start a chess game GNU Chess against crafty using xboard:
Code:
xboard -fcp gnuchess -scp crafty -tc 1
but don't know howto start this game and play automatically.
 
Old 07-21-2009, 05:00 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,140
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
If you mean two bots play a game of chess try the xboard "-mg 1" switch. As in 'xboard -mg 1 -fcp /usr/local/bin/sjeng -scp /usr/local/bin/phalanx'.

Last edited by unSpawn; 07-21-2009 at 05:02 PM.
 
Old 07-21-2009, 05:57 PM   #3
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,608

Original Poster
Rep: Reputation: 45
thx a lot
Code:
# xboard -mg 1 -fcp sjeng -scp phalanx
works well, but
Code:
 
# xboard -mg 1 -fcp gnuchess -scp crafty
won't start (play) a game.
what's wrong?

Last edited by cccc; 07-21-2009 at 07:05 PM.
 
Old 07-21-2009, 06:49 PM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,140
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
What do you exactly mean "won't start"? Won't play? Given they both got their thinking caps on it might take a while before pieces move. Or won't show board display? Any errors?
 
Old 07-21-2009, 07:40 PM   #5
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,608

Original Poster
Rep: Reputation: 45
sorry, I've restarted the machine and it works well now.
 
Old 07-21-2009, 08:16 PM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,140
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
That does not compute. Why would a reboot be necessary?..
 
Old 07-22-2009, 01:17 PM   #7
cccc
Senior Member
 
Registered: Sep 2003
Distribution: Debian Squeeze / Wheezy
Posts: 1,608

Original Poster
Rep: Reputation: 45
I don't know, I've reinstalled xboard, gnuchess and crafty before.
 
Old 07-22-2009, 06:47 PM   #8
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,140
Blog Entries: 54

Rep: Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791Reputation: 2791
Uh. OK. Note reinstalling SW or rebooting usually isn't necessary to fix something.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Which program to play chess game from IP:port to IP:port ? human / human frenchn00b Linux - Software 2 11-12-2008 12:06 PM
How many of you play on FICS (Chess) ? ciden General 8 10-18-2008 11:10 PM
GNU CHess chandrakumarhv Linux - Newbie 3 04-25-2008 12:55 PM
GNU Chess and Xboard JMJ_coder Linux - Software 4 12-12-2007 10:08 PM
Crafty Chess Analysis More User Friendly? lrt2003 Linux - Games 4 09-23-2005 02:16 PM


All times are GMT -5. The time now is 07:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration