Knights

Board

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

19
8.5
Description:

Knights is a simple chess board for KDE 4. It is a rewrite of the KDE3 Knights.

Its home page with regular updates is at http://noughmad.com/knights.

You can play againts computer engines that support the XBoard protocol (like GnuChess), against anouther player at the same computer, or on the Free Internet Chess Server. It has automatic rule checking and some nice animations.

For compiling, you need KDE as well as libkdegames headers, which are usually found in libkdegames-dev or libkdegames-devel packages.

Packages can be downloaded form build.opensuse.com, however try to use your distribution's version when possible. In any case, please report any problems, bugs, and wishes to bugs.kde.org (product knights).

The source archive includes a README.themes file with info for creating and sharing new themes for Knights. They can be uploaded to kde-look.org, and downloaded directly from Knights.

Due to a recent break of compatibility in KDEGames, versions from 2.5 onward require KDE 4.9 or newer. User of older KDE version should use the 2.4 branch.
Last changelog:

9 years ago

Version 2.5.0: Port to new KDEGames library, compatible with KDE 4.9

Version 2.4.2: A handful of usability fixes

Version 2.4.1 introduces support for the UCI protocol, setting the difficulty level of chess engines, game history display, and loading and saving PGN files.

Version 2.4.0 brings voice support, possibility of external control by dbus, and a couple of bug fixes.

Version 2.3.2 is a bugfix release with several fixes, mostly by Dave Kaye. It fixes drag-coused freezes, dropping pieces outside of the board, and a theme appearing twice in the selection dialog.

Version 2.3.1 fixed exactly one bug; the peace captured by en-passant is now properly removed.

The changelog since the last stable release (2.2.0) includes:

- Watching two engines play
- Improved time control support for chess engines
- Better support for the XBoard protocol means Knights can play with more engines, including Crafty, Sloppy, Sjeng and Phalanx.
- Players can now make and receive offer for draw, pause, undo, adjourn and abort. All except Draw are only used when playing on the chess server.
- Players can now undo their moves.
Improved game dialog, with more game options.
- Improved server dialog, with a seek graph.
- Ability to interact with a chess server or a computer engine via a text console.
- Simple chat widget for talking to your remote opponent.
- Selecting and moving pieces by clicking, without dragging.

C

Noughmad

7 years ago

And by the way, you can watch two engines battle.

Do you perchance have an old version installed? For example, Ubuntu Natty only has 2.0.1, which is very old with little features and many bugs. Try the latest version, you can download the package from this site.

Report

defilers

7 years ago

What about UCI2 protocol? Is Knights going to support UCI2 in future release?

Report

C

Noughmad

7 years ago

Maybe :)

There are no current plans to support UCI, but as I understand it shouldn't be that hard. Probably after I implement PGN saving and loading, if I still have enough time by then.

Report

Rettich

8 years ago

The server console is really cool, but it is not very useful with all those seeks from other players if you want to view ranks or something like this.

So, maybe a button "Hide seeks" or something like this would be nice.

Report

C

Noughmad

8 years ago

Well, it is the console, so you can always type in "set seek 0".

But I also started on a feature that would allows you to define you own convenience buttons and save them between sessions. Unfortunately, I ran out of time before 2.3, so it'll probably in the next version.

Report

Uzanto

8 years ago

I watch a bug where the pawn hits through the passage. ( http://upload.wikimedia.org/wikipedia/commons/0/09/Ajedrez_animaci%C3%B3n_en_passant.gif ) Broken pawn is not removed from the board.

Report

C

Noughmad

8 years ago

I see, it's a bug. I don't see how this slipped me, but it has. I'll post an update soon.

Report

C

Noughmad

8 years ago

I just posted a new version (2.3.1) that fixes this.

Report

Uzanto

8 years ago

Thank you very much

Report

nqn1976

8 years ago

Hi, the 2.3.0 source download seems to be corrupted. I get a 63KB file which can't be uncompressed.

Report

C

Noughmad

8 years ago

Thanks, I replaced and it should work now.

Report

nqn1976

8 years ago

Hi,
knights seems to be incompatible with gnuchess 5.08. It just gets stalled when it's the machine's turn.

Report

Rettich

8 years ago

Same problem here with
GNU Chess 5.07.94.1b

Report

C

Noughmad

8 years ago

Yes, I get the same thing. Apparently I was relying on some Gnuchess behavior that is not in the XBoard protocol. I _think_ I just fixed it in master, so it will be in the next release. Fortunately, this will be soon.

Report

ita256

8 years ago

The cursor should display a clock when gnuchess is computing the next move.

Also, there is no undo action (perhaps for the better).

Report

C

Noughmad

8 years ago

I agree there must be some indication that the machine is thinking even when playing without time controls. I'll try with a cursor, or even more likely a status message.

Regarding the undo action, it will be there someday, at least for playing against computers. Until then, don't make mistakes :)

Report

Blahord

8 years ago

I had a short look at the new Clock with the progressbar showing the rest-time.

I came to two ideas:

1. Do not show hours when the resttime is shorter than an hour

2. make progressbar filling from right to left. (can be easy made by progressbar->setInvertedAppearance(true)

Perhaps you can experiment with both suggestions.

Report

C

Noughmad

8 years ago

The progressbar has invertedAppearance on, however the Oxygen style does not recognize that. It flows the other way when in a Gnome session, or with some other widget style.

Regarding the time format, I think you're right. I'll try that.

Report

gokcen

8 years ago

1- ?f kwallet is disabled/not installed and I try to play on freechess.org, knights crashes with backtrace below:

#7 Knights::FicsProtocol::logIn (this=0x905d758) at knights/src/proto/ficsprotocol.cpp:178
#8 0x0805d458 in Knights::FicsProtocol::readFromSocket (this=0x905d758) at knights/src/proto/ficsprotocol.cpp:276
#9 0x0805cbfe in Knights::FicsProtocol::readFromSocket (this=0x905d758) at knights/src/proto/ficsprotocol.cpp:430
#10 0x0805cbfe in Knights::FicsProtocol::readFromSocket (this=0x905d758) at knights/src/proto/ficsprotocol.cpp:430

Maybe, value of wallet pointer should be checked before accessing wallet->hasFolder.

2- Appearance -> "Border Display" -> "Only Borders" option has some rendering issues. Here is the screenshot:

http://imagebin.ca/view/4Y1qTaBU.html

Report

C

Noughmad

8 years ago

1. Thanks for your fix, and for others reading here: it works now. It just doesn't remember your password.

2. I thought I fixed those, but they seem to be still here. I'll fix ASAP.

Report

C

Noughmad

8 years ago

Fixed now, it was a checking the wrong variable in an if statement.

Report

gokcen

8 years ago

Thank you kwallet bug seems fixed but, now with current git, I can't see notation on board with grayscale theme.

So, no borders, borders and borders and notation options all work the same in grayscale theme.

Report

C

Noughmad

8 years ago

That's because the theme doesn't have them (yet). I'll try to add some that match the color of the tiles.

Report

jrballesteros05

8 years ago

Hello, I was very thankful for this software. It's amazing.

I just want to report a bug (I'm not sure if it's a bug :P).

I enter to freechess.org mode and I can play for 5 or 6 minutes, I couldn't finish a game, I mean, when I start, my opponent and make 1 or 3 movements and the game gets blocked, I can't move anything else. Is it a problem of Knights or FICS protocol?. I opened the TCP/5000 port in my firewall.

Take care and I liked the game a lot. :D

Report

C

Noughmad

8 years ago

It is most likely a problem with Knights, because the FICS mode is not yet thoroughly tested. Of course, I'm don't know how good your connection is, but the FICS protocol requires very little data.

I have played games with myself without problems, but there are probably be some situations I did not consider.

Of course I'd like some details (what position/move causes it) and the debugging output (what you get if you run knights from a console). It would be much better if you could reliably reproduce it, in this case please write steps to do so. The preferred place for bug reporting is bugs.kde.org with product name 'knights', or you can always e-mail me.

Report

9 years ago

Version 2.5.0: Port to new KDEGames library, compatible with KDE 4.9

Version 2.4.2: A handful of usability fixes

Version 2.4.1 introduces support for the UCI protocol, setting the difficulty level of chess engines, game history display, and loading and saving PGN files.

Version 2.4.0 brings voice support, possibility of external control by dbus, and a couple of bug fixes.

Version 2.3.2 is a bugfix release with several fixes, mostly by Dave Kaye. It fixes drag-coused freezes, dropping pieces outside of the board, and a theme appearing twice in the selection dialog.

Version 2.3.1 fixed exactly one bug; the peace captured by en-passant is now properly removed.

The changelog since the last stable release (2.2.0) includes:

- Watching two engines play
- Improved time control support for chess engines
- Better support for the XBoard protocol means Knights can play with more engines, including Crafty, Sloppy, Sjeng and Phalanx.
- Players can now make and receive offer for draw, pause, undo, adjourn and abort. All except Draw are only used when playing on the chess server.
- Players can now undo their moves.
Improved game dialog, with more game options.
- Improved server dialog, with a seek graph.
- Ability to interact with a chess server or a computer engine via a text console.
- Simple chat widget for talking to your remote opponent.
- Selecting and moving pieces by clicking, without dragging.

12345678910
31
product-maker ThAnderson Nov 21 2015 9 excellent
product-maker vgezer Jun 16 2013 9 excellent
product-maker Meteorrock Mar 25 2013 9 excellent
product-maker tsujan Jan 09 2013 9 excellent
product-maker kjetilk Oct 08 2012 9 excellent
product-maker electron222 Jan 24 2012 9 excellent
product-maker tcat Jan 20 2012 9 excellent
product-maker Grobelard Nov 13 2011 9 excellent
product-maker Arglinux Oct 22 2011 9 excellent
product-maker snakebite Oct 21 2011 9 excellent
product-maker Contrast Aug 25 2011 9 excellent
product-maker tobaj Aug 06 2011 9 excellent
product-maker aspotashev Jun 13 2011 9 excellent
product-maker Telperien May 19 2011 9 excellent
product-maker fictitious Apr 18 2011 9 excellent
product-maker schleby Apr 05 2011 9 excellent
product-maker raulsilva Mar 31 2011 9 excellent
product-maker Rettich Mar 20 2011 9 excellent
product-maker Uzanto Mar 19 2011 9 excellent
product-maker momonster Mar 10 2011 9 excellent
product-maker daedaluz Feb 13 2011 9 excellent
product-maker janet Feb 05 2011 9 excellent
product-maker franciscot Jan 20 2011 9 excellent
product-maker xam Dec 23 2010 9 excellent
product-maker josec87 Dec 17 2010 9 excellent
product-maker ita256 Dec 17 2010 9 excellent
product-maker digikamdeveloper Dec 17 2010 9 excellent
product-maker Alesvol Dec 16 2010 9 excellent
product-maker mutlu Nov 03 2010 9 excellent
product-maker MetalByte Oct 25 2010 9 excellent
product-maker pvt14 Sep 29 2010 9 excellent
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
2.5.0
updated Jan 24 2013
added Mar 23 2010
downloads today
0
page views today 19
System Tags app software