Is there an Online Chess for Terminal on Linux ? (based on ncurses, noble C lang.)
Linux - GamesThis forum is for all discussion relating to gaming in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.