1. 27 Jun, 2017 1 commit
  2. 22 Apr, 2017 1 commit
  3. 28 Jan, 2014 2 commits
  4. 21 Dec, 2013 2 commits
    • Inge Wallin's avatar
      Establish coding standards step II. · 8cd91fed
      Inge Wallin authored
       * Enforce some structure for including include files
       * Use naming like fooBar instead of foo_bar
       * Improve whitespacing to make the code more readable.
         (There is more to do here.)
      8cd91fed
    • Inge Wallin's avatar
      Establish some coding standards step I · b80d0c6c
      Inge Wallin authored
      Make the code look similar in all files.  There was quite some
      mix of styles before. In this step we do:
      
       * indent 4 steps everywhere
       * no spaces inside parenthesis
       * space between if/while/etc and the parenthesis
       * opening braces on the same line as if/while/etc
       * one initializer per line in constructors
      
      So basically we have
      
          if (foo) {
              ...
          }
      
      instead of
      
        if( foo )
        {
          ...
        }
      b80d0c6c
  5. 30 Oct, 2013 1 commit
  6. 17 Sep, 2013 1 commit
  7. 12 Sep, 2013 1 commit
  8. 11 Sep, 2013 1 commit
  9. 04 Sep, 2013 1 commit
  10. 29 Aug, 2013 2 commits
  11. 23 Aug, 2013 1 commit
  12. 14 Aug, 2013 1 commit
    • 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
  13. 24 Jul, 2013 1 commit
  14. 17 Jul, 2013 1 commit
  15. 11 Jul, 2013 1 commit
    • Denis Kuplyakov's avatar
      Fixed some Krazy issues · be7d8399
      Denis Kuplyakov authored
      kreversiview.h: spelling error and explicit constructor
      kreversiview.cpp: normalazied signal and slot uses
      be7d8399
  16. 10 Jul, 2013 2 commits
  17. 08 Jul, 2013 2 commits
  18. 04 Jul, 2013 1 commit
    • Denis Kuplyakov's avatar
      Added popup functionality. · f5683db7
      Denis Kuplyakov authored
      Popup was implemented. Plasma IconItem has been used to load icon for
      popup as it done in original KGamePopupItem. Now colors are hardcoded,
      but it will be better to load them from KDE theme.
      f5683db7
  19. 03 Jul, 2013 1 commit
  20. 01 Jul, 2013 2 commits
    • Denis Kuplyakov's avatar
      Fixed endless game-over message and undo · 130f7cb7
      Denis Kuplyakov authored
      Fixed endless game-over message. And magically (I don't know why) undo
      was fixed.
      Also has changed copyright signs order.
      130f7cb7
    • Denis Kuplyakov's avatar
      KReversiView now controls game-flow, as it was done by KReversiScene · 191fb162
      Denis Kuplyakov authored
      What's new:
      1) KReversiView now have same signal pattern as KReversiScene, used
      before. Now game is playable. You can do only allowed moves and so on.
      2) Showing of legal moves and last move already works.
      3) You can change chip color.
      Known issues:
      1) History works, but Undo doesn't.
      2) Game sometimes crashes, when you close it while demomode is running.
      3) QML layout don't fit board image well, so you can see that last cells
      have some bias.
      191fb162
  21. 14 Jun, 2013 1 commit
    • Denis Kuplyakov's avatar
      Initial porting to QML implementation · 31b2e13a
      Denis Kuplyakov authored
      Added QML classes with simple realization to /qml folder.
      KReversiChip and KReversiScene classes were deleted.
      Added import of declarative libraries and /qml folder install code to
      CMakeLists.txt.
      KReversiView was rewriten completely to be QML container, now implements
      simple user interaction.
      Some changes to mainwindow.cpp due to absense of scene class, we will
      use only KReversiView now.
      Added install instruction to /pics/CMakeLists.txt for *.desktop theme
      file.
      31b2e13a
  22. 31 May, 2007 1 commit
  23. 27 Sep, 2006 2 commits
  24. 08 Sep, 2006 1 commit
  25. 05 Sep, 2006 1 commit
  26. 11 Aug, 2006 1 commit
    • Dmitry Suzdalev's avatar
      Ported KReversi's Engine to use new classes. · 52e670e3
      Dmitry Suzdalev authored
      It compiles, but this code is just unused yet.
      
      Moved away from inheriting Engine from SuperEngine.
      Idea behind SuperEngine was to introduce base class for several engines.
      Well, currently there's only one.
      And I think that it's better to actually create 
      base-interface class when we have more than one engine at hands,
      so we can look for what they have in common etc etc :).
      
      Yesterday's problem with QGV's margin didn't go away... Oh, well
      
      svn path=/branches/work/kreversi_rewrite/; revision=571980
      52e670e3
  27. 10 Aug, 2006 2 commits