• Denis Kuplyakov's avatar
    Initial commit · 64bdb17c
    Denis Kuplyakov authored
    There are tonn of changes:
    (more details:
    http://kreversiqml.blogspot.ru/2013/08/new-kreversi-design.html)
    0) Some code formating
    1) Now we have KReversiPos, that indicates position (row, col),
    and KReversiMove, that indicates move (it is position with
    color)
    2) All functions was adopted to use KReversiPos(Move) instead of
    two arguments (row, col)
    3) Initial implementation of KReversiPlayer,
    KReversiComputerPlayer, KReversiHumanPlayer.
    4) Many functions of KReversiGame has been rewriten to use DX[], DY[]
    arrays and for-loops instead of copypasting eight times simillar code.
    5) KReversiGame already has particular support of new design
    6) KReversiView don't handle game-flow, KReversiGame does it
    7) many other changes.
    64bdb17c
kreversigame.cpp 10.5 KB