[Kde-games-devel] ksokoban

Tadeusz Andrzej Kadlubowski yess at hell.org.pl
Tue May 15 12:12:56 CEST 2007


On May 13, 2007, at 22:49, Scott MacDonald wrote:
> I've been looking through the codebase, and well... its  
> interesting. As far as
> I can tell, KSokoban was developed for KDE2, and somehow ported to  
> KDE3. The
> real concern I'm having is how ungainly the code "feels", since  
> I've noticed
> the following
>
>  - all rendering is done through some sort of HTML subsytem (divs  
> and img are
> sprinkled liberally through the code base)
>  - many custom classes were made where Qt should suffice, such as  
> the move queue.
>
> I'm sorely tempted to overhaul everything in the code base, except  
> for the
> level loader (which seems to be decent). I know normally this  
> looked at as a
> big no-no, but at this point porting to KDE4 would be pointless.  
> Animations,
> SVG support would be best suited if we rewrote the rendering  
> portion of the
> program from the ground up, using the canvas.
>
> Again, its summer break.... so I'm more than willing to take this  
> on as a fun
> way of learning programming for KDE. The sokoban game itself is  
> fairly trival
> to write, though the display may be more time consuming.

By the way: I also planned to update ksokoban to KDE4 standards.  
Unfortunatelly I don't have time untill end of may, when my current  
job contract ends. As a freshly unemployed programmer I will be happy  
to join Your refactoring effort in circa 17 (yay!) days.
-- 
tadeusz


More information about the kde-games-devel mailing list