LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-18-2016, 01:57 AM   #1
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 664

Rep: Reputation: 138Reputation: 138
Is there an Online Chess for Terminal on Linux ? (based on ncurses, noble C lang.)


Hello,

There are many online chess games, such as pychess, ... for multiplayer online gaming.

The surprise is that there aren't many under the standard terminal, which are well coded and coded in C.

Any inputs would be greatly helpful.

thank you and wishing you a good day.
Pat
 
Old 06-18-2016, 04:40 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Pat, I am a constant chess playing but I have not found yet the one you are seeking.
I wish you can write one
I am a member of chess tempo.

Likewise wishing you the best.

malek
 
Old 06-18-2016, 05:04 AM   #3
ardvark71
LQ Veteran
 
Registered: Feb 2015
Location: USA
Distribution: Lubuntu 14.04, 22.04, Windows 8.1 and 10
Posts: 6,282
Blog Entries: 4

Rep: Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842Reputation: 842
Quote:
Originally Posted by patrick295767 View Post
Any inputs would be greatly helpful.
Hi...

I found this chess game if you have some time and ability to mess around with the code, or create new code. Or how about this one? Neither of them are web based (not sure about multiplayer) but should allow you to play in a terminal.

Quote:
Originally Posted by patrick295767 View Post
thank you and wishing you a good day.
And to you as well!

Regards...

Last edited by ardvark71; 06-18-2016 at 05:07 AM. Reason: Added information/Correction.
 
Old 06-18-2016, 08:14 AM   #4
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 664

Original Poster
Rep: Reputation: 138Reputation: 138
Quote:
Originally Posted by malekmustaq View Post
Pat, I am a constant chess playing but I have not found yet the one you are seeking.
I wish you can write one
I am a member of chess tempo.

Likewise wishing you the best.

malek
It is not a big deal to write one.
The thing that I haven't much idea who you would want one... just give me a wish. Which protocol the chess server uses? I could maybe have a quick look.
 
Old 06-19-2016, 04:36 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
basically you need a chess engine, and an ncurses frontend.
engines: e.g. gnuchess can be played from the terminal.
frontend: https://benkibbey.wordpress.com/cboard/ the only ncurses i can find.
 
3 members found this post helpful.
Old 06-19-2016, 05:27 AM   #6
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I googled this and found there's a free internet chess server. There doesn't seem to be source code available though, sadly.
 
Old 06-19-2016, 11:44 AM   #7
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Quote:
The thing that I haven't much idea who you would want one...
That is the point. The software should be aimed at users who 1) prefer to play in ncurses; 2) has a very slow connection, or limited hardware; or 3) does not enjoy so much lipstick on the GUI mode. Should be cross platform and capable of reading PGN files for study.

As for me I think I belong to the # 3) above. But you should find out first the prospective audience if they are worth your effort and time.

Thanks ahead for your concern.

m.m.
 
Old 06-19-2016, 02:00 PM   #8
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
If you don't actually care if it's ncurses, but just want it to be visual but not reliant on an X session, then I suggest you look at Emacs chess.

You can get a description of it here: https://github.com/jwiegley/emacs-chess, but the summary is that it's an emacs mode for chess playing; if X is available, it provide a GUI but if not, then it provides a text-based board that looks exactly like this:

Code:
      +---+---+---+---+---+---+---+---+
    8 | r | n | b | q | k | b | n | r |
      +---+---+---+---+---+---+---+---+
    7 | p | p | p | p | p | p | p | p |
      +---+---+---+---+---+---+---+---+
    6 |   |   |   |   |   |   |   |   |
      +---+---+---+---+---+---+---+---+
    5 |   |   |   |   |   |   |   |   |
      +---+---+---+---+---+---+---+---+
    4 |   |   |   |   |   |   |   |   |
      +---+---+---+---+---+---+---+---+
    3 |   |   |   |   |   |   |   |   |
      +---+---+---+---+---+---+---+---+
    2 | P | P | P | P | P | P | P | P |
      +---+---+---+---+---+---+---+---+
    1 | R | N | B | Q | K | B | N | R |
      +---+---+---+---+---+---+---+---+
        a   b   c   d   e   f   g   h
You can play over internet or LAN or against the computer.

You can install this from within Emacs (m-x packages-list-packages); it's called Chess or chess-mode.
 
Old 06-19-2016, 02:07 PM   #9
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Have you seen this site?
 
1 members found this post helpful.
Old 07-02-2016, 04:34 PM   #10
patrick295767
Member
 
Registered: Feb 2006
Distribution: FreeBSD, Linux, Slackware, LFS, Gparted
Posts: 664

Original Poster
Rep: Reputation: 138Reputation: 138
Quote:
Originally Posted by notKlaatu View Post
If you don't actually care if it's ncurses, but just want it to be visual but not reliant on an X session, then I suggest you look at Emacs chess.

You can get a description of it here: https://github.com/jwiegley/emacs-chess, but the summary is that it's an emacs mode for chess playing; if X is available, it provide a GUI but if not, then it provides a text-based board that looks exactly like this:

Code:
      +---+---+---+---+---+---+---+---+
    8 | r | n | b | q | k | b | n | r |
      +---+---+---+---+---+---+---+---+
    7 | p | p | p | p | p | p | p | p |
      +---+---+---+---+---+---+---+---+
    6 |   |   |   |   |   |   |   |   |
      +---+---+---+---+---+---+---+---+
    5 |   |   |   |   |   |   |   |   |
      +---+---+---+---+---+---+---+---+
    4 |   |   |   |   |   |   |   |   |
      +---+---+---+---+---+---+---+---+
    3 |   |   |   |   |   |   |   |   |
      +---+---+---+---+---+---+---+---+
    2 | P | P | P | P | P | P | P | P |
      +---+---+---+---+---+---+---+---+
    1 | R | N | B | Q | K | B | N | R |
      +---+---+---+---+---+---+---+---+
        a   b   c   d   e   f   g   h
You can play over internet or LAN or against the computer.

You can install this from within Emacs (m-x packages-list-packages); it's called Chess or chess-mode.
the design is pretty cool and confortable to see. on ncurses, one can add colors with fg and keeping a bg black.

the site http://www.tim-mann.org/ics.html is kinda not suckless spirit.
 
  


Reply



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
Curses / Ncurses and modern-like text-based Linux Club Programming Talks Xeratul Programming 1 01-08-2013 01:18 PM
LXer: Complete Shell Audio Player for Linux Based on Ncurses: CMus LXer Syndicated Linux News 0 07-11-2009 11:00 PM
Online Chess JMJ_coder General 3 11-28-2007 06:05 AM
Linux App for Chess Online gaming, from server ? Xeratul Linux - General 2 01-13-2007 07:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 12:39 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration