
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
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.
7 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.
7 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.
ThAnderson
5 years ago
Report
snakebite
4 years ago
Report
Meteorrock
6 years ago
Report
Meteorrock
7 years ago
Report
Meteorrock
7 years ago
I went over your other themes and took a look over them on the .desktop configuration files, still not applying in your app. Any help would be appreciated. Did my theme in inkscape as an .svg. Thank you.
Report
Noughmad
7 years ago
I can see you figured most of the things out, and thank you for the theme. Yes, Knights uses a libkdegames, which needs a slightly different format (.desktop file and SVG) than the KDE3 version on SourceForge.
I just tried installing you theme, and while it can be installed from Settings => Theme, it is not detected after installing. I checked it, and there are actually multiple things wrong with the theme (or with the program, whichever way you see it, they're mostly limitations of the kdegames library).
- files in archive are in a folder (Fritz_look_alike). This way the program can't find them, put them directly in the archive as top-level items.
- the .desktop file is missing a [KGameTheme] line at the top
- I see you included a separate .svg for each piece. No need to do that. Instead, have them all in one top-level svg (as you already do). However, the pieces in this file should be labeled. In Inkscape, this can be done by right click => Object Properties => Id. Set the object Id's to BlackTile, WhiteBishop etc.
You also have some files that are not needed in the archive (two hidden lock files, README and themes.conf). Nothing wrong with that, except taking up space. To avoid adding hidden files (and fix the first problem), select files for compression individually.
Once again, thank you for your work on the theme. If you have any more problems, please email me (miha@noughmad.eu) instead of posting here. You can also find me in #kde and #kde-devel channels as Noughmad.
Report
Meteorrock
7 years ago
I will sidedownload one of the apps here in a few days and see if it will work.
Did a <sudo find /.desktop> in the terminal, it did not find it.
Please input below the directory for the themes on this game so I can find it on my machine. Thanks.
Its also not in the usr/share/themes directory either.
Report
Meteorrock
7 years ago
Report
Meteorrock
7 years ago
Also could you upload all of the themes from sourceforge.net for this game? I am interested in the fritz gaming theme for this fine chess game. Here is the link for those other themes from sourceforge.net. http://sourceforge.net/projects/knights/files/knights-themepack/
Thank you.
Report
Evropi
7 years ago
The game is highly innovative and inspired by roguelikes and (possibly) Gauntlet. However, there are no immediate comparisons. And hey, it's a great game. You can find it at:
http://www.knightsgame.org.uk/
So, uhh, would you mind changing the name for your project?
Report
Noughmad
7 years ago
I'm sorry for not noticing this earlier, I don't read this site regularly, pleas send me an e-mail (miha@noughmad.eu) for such issues.
Now, I really would mind changing the name. My program is inspired by Knights for KDE3 (http://knights.sourceforge.net/) which was a popular game that I enjoyed. Of course, if you feel strongly about this, I could change it. But please send me a private email so we can discuss the details.
Report
kjetilk
8 years ago
I updated to KDE 4.9 and Knights was removed. I found out why when I checked the available software. Do you know why it hasn't been included in the Extras repository, not even with the recent 4.9.2 update?
Report
Noughmad
8 years ago
I don't use openSUSE, but if you want to have Knights included in their repositories, try writing to their maintainers.
Report
Contrast
8 years ago
(Requires KDE 4.9)
Report
johu
8 years ago
Report
Noughmad
8 years ago
Report
johu
8 years ago
Report
tobaj
9 years ago
[ 72%] Building CXX object src/CMakeFiles/knights.dir/gamedialog.o
/<patch-to-knights-src>/src/rules/chessrules.cpp: In member function ‘virtual void Knights::ChessRules::checkSpecialFlags(Knights::Move*, Knights::Color)’:
/<patch-to-knights-src>/src/rules/chessrules.cpp:444:9: error: expected ‘;’ before ‘qt_noop’
[ 74%] Building CXX object src/CMakeFiles/knights.dir/offerwidget.o
make[2]: *** [src/CMakeFiles/knights.dir/rules/chessrules.o] Error
Report
tobaj
9 years ago
Report
snakebite
9 years ago
Report
Noughmad
9 years ago
Report
chomp
9 years ago
make[2]: *** No rule to make target `/usr/lib/libkdegames.so', needed by `src/knights'. Stop.
make[1]: *** [src/CMakeFiles/knights.dir/all] Error 2
make: *** [all] Error 2
Report
Noughmad
9 years ago
Alternatively, it's possible there's a problem with your libkdegames install. Did you remove the library but still have a CMake file pointing to it?
Report
defilers
9 years ago
Report
Noughmad
9 years ago
Report