[virtualcommons-svn] commit/foraging: alllee: showing trust game log for each round for testing, mo
Status: Beta
Brought to you by:
alllee
From: Bitbucket <com...@bi...> - 2011-09-01 22:15:39
|
1 new changeset in foraging: http://bitbucket.org/virtualcommons/foraging/changeset/d9f711904913/ changeset: d9f711904913 user: alllee date: 2011-09-02 00:16:10 summary: showing trust game log for each round for testing, move back in production affected #: 1 file (131 bytes) --- a/src/main/java/edu/asu/commons/foraging/client/GameWindow2D.java Thu Sep 01 15:12:18 2011 -0700 +++ b/src/main/java/edu/asu/commons/foraging/client/GameWindow2D.java Thu Sep 01 15:16:10 2011 -0700 @@ -650,11 +650,13 @@ double showUpPayment = dataModel.getRoundConfiguration().getParentConfiguration().getShowUpPayment(); instructionsBuilder.append(String.format("Your <b>total income</b> so far (including a $%3.2f bonus for showing up) is : $%3.2f<hr>", showUpPayment, dataModel.getTotalIncome() + showUpPayment + quizReward)); - + for (String trustGameLog : event.getTrustGameLog()) { + instructionsBuilder.append(trustGameLog); + } if (event.isLastRound()) { - for (String trustGameLog : event.getTrustGameLog()) { - instructionsBuilder.append(trustGameLog); - } +// for (String trustGameLog : event.getTrustGameLog()) { +// instructionsBuilder.append(trustGameLog); +// } instructionsBuilder.append(client.getDataModel().getRoundConfiguration().getLastRoundDebriefing()); timeLeftLabel.setText("The experiment is now over."); } Repository URL: https://bitbucket.org/virtualcommons/foraging/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. |