Skip to content

Commit 144c016

Browse files
author
github-actions
committed
Google Java Format
1 parent 951f2a8 commit 144c016

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

DiceGame.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import java.util.ArrayList;
32
import java.util.Scanner;
43

@@ -35,8 +34,12 @@ public void start() {
3534
bestPlayer = player;
3635
}
3736
}
38-
System.out
39-
.println("Der Sieger heisst " + bestPlayer.getName() + " und hat " + bestPlayer.getScore() + " Punkte");
37+
System.out.println(
38+
"Der Sieger heisst "
39+
+ bestPlayer.getName()
40+
+ " und hat "
41+
+ bestPlayer.getScore()
42+
+ " Punkte");
4043
}
4144

4245
private void move(Player player) {

Exercise.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import java.util.ArrayList;
32

43
public class Exercise {

0 commit comments

Comments
 (0)