Revision 913656

Go back to digest for 25th January 2009

Features in Games

Sascha Peilicke committed changes in /trunk/playground/games/kigo/src:

This is a rather big patch.
The Kigo::Engine was torn apart and refactored into several classes.
This provides some cleaner APIs and future extendability.

These are the new classes: Kigo::Score, Kigo::Player, Kigo::Move, Kigo::Stone.

This should be mostly self-explanatory but the comments where expanded too, to make relations clear.
The Kigo::Engine class got lifted even further, a lot of unused (and to be honest obscure) GTP command wrappers where removed.
Maybe some of them might be re-introduced when needed later.

This commit will cause new bugs because of it's size and the large code portion it touches.

File Changes

Added 10 files
  • /trunk/playground/games/kigo/src/game
  •   /engine.cpp
  •   /engine.h
  •   /move.cpp
  •   /move.h
  •   /player.cpp
  •   /player.h
  •   /score.cpp
  •   /score.h
  •   /stone.cpp
  •   /stone.h
Deleted 5 files
  • /trunk/playground/games/kigo/src
  •   /game/goengine.cpp
  •   /game/goengine.h
  •   /gui/widgets/editwidget.cpp
  •   /gui/widgets/editwidget.h
  •   /gui/widgets/editwidget.ui
Modified 13 files
  • /trunk/playground/games/kigo/src
  •   /CMakeLists.txt
  •   /gui/kigoui.rc
  •   /gui/mainwindow.cpp
  •   /gui/mainwindow.h
  •   /gui/config/generalconfig.cpp
  •   /gui/graphicsview/gamescene.cpp
  •   /gui/graphicsview/gamescene.h
  •   /gui/graphicsview/gameview.cpp
  •   /gui/graphicsview/gameview.h
  •   /gui/widgets/gamewidget.cpp
  •   /gui/widgets/gamewidget.h
  •   /gui/widgets/setupwidget.cpp
  •   /gui/widgets/setupwidget.h
28 files changed in total