[Kde-games-devel] ksokoban

Scott MacDonald smacdo2 at uic.edu
Sun May 13 22:49:40 CEST 2007


Hey guys,

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.

Also, if this goes ahead, can I get commit access? I mean, I _could_ submit a
patch, but if we go ahead the amount of code unchanged would be tiny.

Thoughts?

~ Scott MacDonald
UIC ACCC Computer Consultant
Assoc. for Computing Machinery Treasurer

http://inca.cc.uic.edu/

----

I can picture in my mind,
a world without war, a world without hate.
And I can picture us attacking that world,
because they'd never expect it.

Albert Astals Cid wrote:
> A Diumenge 13 Maig 2007, Vic Fryzel va escriure:
>> Hi Albert,
>>
>> > Why not host it on KDE SVN repository?
>>
>> I didn't think I could host it in the KDE SVN repository because I'm not an
>> official KDE developer.  Does one not have to be a KDE dev to use the KDE
>> SVN repo?
>
> You are just two steps away of becoming an "official KDE developer"
>
> a) Wanting to be one for a "somewhat long" period
> b) Reading http://techbase.kde.org/Contribute/Get_a_SVN_Account
>
> Albert
>
>>
>> > Well, just start coding it with "ugly" graphics and keep in mind the
>> > possibility of "themes" so an artist can come later and just changing
>> > image files can change altogether the look of the game.
>>
>> Alright I'll do that.  Thanks for that point.
>>
>> > As far as i know sound people is missing.
>>
>> I've never done sound effects before.  Can you recommend any applications
>> that might be useful for making these?
>>
>> > Seems a cool game we'd like to have in KDE, go go go!
>> >
>> :D
>
>
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel
>




More information about the kde-games-devel mailing list