nine_men_morris, complete two player mode

Authored by pgupta on Jun 11 2016, 3:44 PM.

Description

nine_men_morris, complete two player mode

Details

Committed
pguptaJun 11 2016, 3:44 PM
Parents
R2:02a07e3de88b: nine_men_morris, complete tutorial mode
Branches
Unknown
Tags
Unknown
Restricted Application added a subscriber: jjazeix. ยท View Herald TranscriptJun 11 2016, 3:46 PM

Hi,

thanks for the activity.
There are also warnings at beginning: QFont::setPointSizeF: Point size <= 0 (0.000000), must be greater than 0
The rectangle for the instructions does not cover all the text but only the top half (same for tutorial).
If you multiple click while putting one piece on a spot, it decreases multiple times (causing it to potentially be negative), you can also "overwrite" the place of the opponent this way. I'm not sur eif this is the problem, but after it, the opponent has no more pieces but has to play.

What do you think about displaying the number of remaining pieces to place directly under the score of each player (or directly having a bowl where the player can drag/drop the pieces?)?

When you have to remove one of the opponent's pieces, the Glow effect is hard to notice.

The IA does not work, the player has to andle both players.

/src/activities/nine_men_morris/NineMenMorris.qml
120

be careful of indentation

/src/activities/nine_men_morris/nine_men_morris.js
577

you already know that you items.firstPhase is true so it should always be "Place a piece"

615

qsTr("Congratulations")

618

qsTr("Congratulations Player 1")

629

qsTr("Congratulations Player 2")

633

qsTr("Try again")

/src/activities/nine_men_morris_2players/ActivityInfo.qml
26

qsTr()

34

it should be 7000 (I updated the number in master after you created the branch)