[Kde-games-devel] an AI player for Tetris?

Mauricio Piacentini piacentini at kde.org
Fri Dec 14 21:52:38 CET 2007


Dapeng Zhang wrote:
> Dear all,
> 
> My name is Dapeng Zhang, I'm a Ph-D student in artificial intelligence 
> (AI) in University of Freiburg.
> 
> I plan to develop an AI player for ksirtet. Is there anyone who is 
> working on the similar tasks?
> 
> I have the following system. The kdegames (kde) has a version 3.5.5. The 
> source code package is from web. It (kdegames) was sucessfully compiled 
> by configure-->make-->"make install". However, when I try to insert a 
> very simple "printf" in libksirtet/common/main.h, and recomplile. The 
> compiler reports some link errors, For example
> 
> -------------------------------------------------------------------------------
> board.o: In function `KSBoard::start(GTInitData const&)':
> board.cpp:(.text+0x32d): undefined reference to `Board::start(GTInitData 
> const&)'
> board.o: In function `KSBoard::qt_property(int, int, QVariant*)':
> board.cpp:(.text+0x36e): undefined reference to `Board::qt_property(int, 
> int, QVariant*)'
> -------------------------------------------------------------------------------

Hi, Dapeng Zhang. ksirtet is moved to unmaintained in KDE4, as no one 
was working on it. I am working on a leaner replacement for it, KBlocks. 
It is mostly functional, and should be ready for import to the main 
module in about 2-3 months. You can find it in playground/games/kblocks, 
for KDE 4.
If you are starting a project, maybe you could think about using KDE4, 
and KBlocks, as your experimentation playground. Currently we do not 
have AI players in KBlocks, and there were no plans to have them in this 
first version. But if you can provide one, it would be great!
Another option is for you to ressurect ksirtet, if you want to take this 
route, and start patching it. It is difficult to tell exactly what is 
happening in your case, I at least can not spot the compilation problem. 
But then again, I work only with the KDE4 tree and Qt4 since I started 
in the module.

Best regards,
Mauricio Piacentini


More information about the kde-games-devel mailing list