More Info

Revision 686526

(Back to digest)

Other in Games

Dmitry Suzdalev committed changes in /trunk/KDE/kdegames/kmines:

Start porting KMines to QGraphicsView. Blessed by Mauricio.

In fact, we both tend to agree that this porting will be taking shape of a rewrite, because the state of current code isn't that good. At all.

It is bloated, misses comments, complex without any reason, contains some features that I doubt are much used (solver, log replaying) and such :)

So rewrite would go in direction of simplicity.
In the end MineSweeper is a simple game.

So let's keep it simple, clean and beautiful. This includes code.
At least I'll try to produce such code - feel free to critique, change, fix.
But that's as usual ;)

PS. KMines will not be broken during rewrite - I use different set of classes, and I will just replace old main window with new one in my local copy, keeping the trunk's one unchanged.

File Changes

Added 8 files
/trunk/KDE/kdegames/kmines
 
/cellitem.cpp
 
/cellitem.h
 
/mainwindow.cpp
 
/mainwindow.h
 
/minefielditem.cpp
 
/minefielditem.h
 
/scene.cpp
 
/scene.h
Modified 2 files
/trunk/KDE/kdegames/kmines
 
/CMakeLists.txt
 
/main.cpp
10 files changed in total