Revision 858877

Go back to digest for 14th September 2008

Optimization in Games

Stefan Majewsky committed changes in /trunk/KDE/kdegames/kdiamond/src:

* Optimization: Only search possible moves when the board has changed, thereby reducing the average CPU idle load by about 90 %.
* New penalty: Remove 3 points when a hint is shown.
* Increase version number from 1.0 to 1.1 for KDE 4.2.

File Changes

Modified 7 files
  • /trunk/KDE/kdegames/kdiamond/src
  •   /board.cpp
  •   /board.h
  •   /game-state.cpp
  •   /game-state.h
  •   /infobar.cpp
  •   /main.cpp
  •   /mainwindow.cpp
7 files changed in total