Revision 1274982

Go back to digest for 22nd January 2012

Other in Games

Ian Wadham committed changes in /trunk/KDE/kdegames/ksudoku/src:

Integrate the old KSudoku and the new generator/solver more closely.

Both now use the same data structures for puzzle and solution contents. The SKGraph class is now the central data-structure used by views, generator, solver, save file, load file and manual puzzle entry. It represents the type, size, shape and rules of a Sudoku puzzle, either in 2D or 3D, and has been streamlined and simplified. The PlainSudokuBoard, RoxdokuBoard and SamuraiBoard classes that inherited SudokuBoard (the generator/solver) have been deleted. SudokuBoard now works entirely by using SKGraph.

File Changes

Deleted 7 files
  • /trunk/KDE/kdegames/ksudoku/src/generator
  •   /CMakeLists.txt
  •   /plainsudokuboard.cpp
  •   /plainsudokuboard.h
  •   /roxdokuboard.cpp
  •   /roxdokuboard.h
  •   /samuraiboard.cpp
  •   /samuraiboard.h
Modified 20 files
  • /trunk/KDE/kdegames/ksudoku/src
  •   /CMakeLists.txt
  •   /globals.h
  •   /generator/sudokuboard.cpp
  •   /generator/sudokuboard.h
  •   /gui/gamevariants.cpp
  •   /gui/gamevariants.h
  •   /gui/history.h
  •   /gui/ksudoku_client.cpp
  •   /gui/ksudokugame.cpp
  •   /gui/ksudokugame.h
  •   /gui/serializer.cpp
  •   /gui/symbols.cpp
  •   /logic/puzzle.cpp
  •   /logic/puzzle.h
  •   /logic/skgraph.cpp
  •   /logic/skgraph.h
  •   /gui/views/ksview.cpp
  •   /gui/views/roxdokuview.cpp
  •   /gui/views/roxdokuview.h
  •   /gui/views/view2d.cpp
27 files changed in total