Revision 625185

Go back to digest for 21st January 2007

Features in Games

Nicolas Roffet committed changes in /trunk/KDE/kdegames/kblackbox:

Code clean up:
- New private methode "KBBGame::comfirmGameEndIfNeeded()" to avoid duplication of code.
- Several redundant tests "if (running)" removed.
- Small clean up in "KBBGame::giveUp()".
- Division of the class (and file) KBBGame in 2 classes (and 2 files) to remove a lot of dependencies to the graphic widget (KBBGraphic) in the main window:
- KBBGame: main window of the game
- KBBBoard: logical board of the game

- Avoid to annoy the player with the confirmation of the end of the game when he didn't really start to play.

File Changes

Added 2 files
  • /trunk/KDE/kdegames/kblackbox
  •   /kbbboard.cpp
  •   /kbbboard.h
Modified 4 files
  • /trunk/KDE/kdegames/kblackbox
  •   /CHANGES
  •   /CMakeLists.txt
  •   /kbbgame.cpp
  •   /kbbgame.h
6 files changed in total