mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-27 05:03:27 -08:00
MAINT: Apply pre-commit
Remove byte-order-marker pre-commit check as there would be many adjustments necessary
This commit is contained in:
@@ -21,15 +21,15 @@ public class Die {
|
||||
this.faceValue = 1 + generator.nextInt(sides);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
||||
/**
|
||||
* @return the faceValue
|
||||
*/
|
||||
public int getFaceValue() {
|
||||
return faceValue;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void printDie() {
|
||||
throwDie();
|
||||
int x = this.getFaceValue();
|
||||
@@ -70,4 +70,4 @@ public class Die {
|
||||
private void printTwo() {
|
||||
System.out.println("| * * |");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,9 +35,9 @@ public class MathDice {
|
||||
in.nextLine();
|
||||
}
|
||||
|
||||
if(guess == 0)
|
||||
if(guess == 0)
|
||||
System.exit(0);
|
||||
|
||||
|
||||
tries++;
|
||||
}
|
||||
|
||||
@@ -50,4 +50,4 @@ public class MathDice {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user