[Kde-games-devel] Wanted in kdegames: Simple example of KGame usage

Inge Wallin inge at lysator.liu.se
Tue Jan 18 13:04:05 CET 2005


Hi everybody,

During the last months, I have been doing various stuff in kdegames. I have 
worked on kpat, kpoker, kreversi, and konquest. I have done code cleanups, 
fixed bugs and added a few features. 

All of these games (maybe except kpat) would benefit from being based on the 
classes in libkdegame: KGame, KPlayer et al. It has been my ambition do this. 
I would like to start out with kreversi and then add features like network 
gaming that KGame makes possible and perhaps even easy to add.

However, I have never really gotten the effort started since I couldn't find 
an easy example to look at. KGame are not that simple to use since they are 
very powerful with lots of functionality. Martin Heni has created a simple 
example called kgame, if I remember correctly, but that has been retracted. I 
happen to have an old copy of kgame-1.0, but it is out of date, and it 
doesn't work any more.

What I propose is that we include a very simple game, say tic-tac-toe, that is 
based on KGame, KPlayer and the other classes in libkdegames and whose only 
purpose is to serve as an example for programmers on how to write programs 
using libkdegames. This game doesn't even have to be installed with the rest 
of the games when you  do "make install" if the kdegames maintainer doesn't 
think that it fits into the order of things.  Of course, this example game 
would have to be kept up to date with libkdegames, and that is the purpose of 
the idea to actually include it in kdegames.

What do you think of this?  Martin, would you consent to use kgame as the 
start for this?

 -Inge


-- 
Inge Wallin               | Thus spake the master programmer:               |
                          |      "After three days without programming,     |
inge at lysator.liu.se       |       life becomes meaningless."                |
                          | Geoffrey James: The Tao of Programming.         |


More information about the kde-games-devel mailing list