Skip to content

Commit

Permalink
Changed game mode factors to 1, because this is expected for the chal…
Browse files Browse the repository at this point in the history
…lenge tournament mode.
  • Loading branch information
danielsuter committed May 9, 2017
1 parent 98e1524 commit 40fc85f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
import static java.lang.String.valueOf;

class BottomUpMode extends Mode{
private static final int FACTOR = 3;
private static final int FACTOR = 1;

@Override
public Trumpf getTrumpfName() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import static java.lang.String.valueOf;

class TopDownMode extends Mode {
private static final int FACTOR = 3;
private static final int FACTOR = 1;

@Override
public Trumpf getTrumpfName() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public boolean canPlayCard(Card card, Set<Card> alreadyPlayedCards, Color curren

@Override
public int getFactor() {
if(trumpfColor == Color.SPADES || trumpfColor == Color.CLUBS) return 2;
return 1;
}

Expand Down

0 comments on commit 40fc85f

Please sign in to comment.