From 51533aea8ec4dfac42910ad35a16db1702bf465c Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 6 Oct 2017 08:57:47 +0200 Subject: [PATCH 1/3] Update README.md Updated readme to a more descriptive one --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f49b605..37813be 100644 --- a/README.md +++ b/README.md @@ -3,4 +3,8 @@ This is a Java program for rolling dice. The program has known errors. ## Purpose -This is an exercise in using _GIT_ to fix errors and trace the changes. +This is an exercise in using github to fix errors and trace the changes. + +# Contents +This project contains source code for the die rolling program and a JUnit test that tests different aspects of the program. For example, the test tries to roll the die 60.000 times to see if we get expected random results. +A branch called BugFixes contains code for a working version of the program. This branch is later merged to the master-branch. From db0153d878f6066b62efb3a4072dbf9374169d5b Mon Sep 17 00:00:00 2001 From: DtuPat <32563752+DtuPat@users.noreply.github.com> Date: Fri, 6 Oct 2017 09:25:53 +0200 Subject: [PATCH 2/3] Update Dice.java Fixer at den rullede 1 mindre end det brugeren bad den om. --- Dice.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dice.java b/Dice.java index 96ce523..fb3932c 100644 --- a/Dice.java +++ b/Dice.java @@ -11,7 +11,7 @@ public int roll() { // roll the die n times and print the values public void rollMultiple(int n) { - for (int i=1; i Date: Fri, 6 Oct 2017 10:41:09 +0200 Subject: [PATCH 3/3] Hej med dig Jeg har skrevet hej med dig. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 37813be..d61b5cf 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,4 @@ This is an exercise in using github to fix errors and trace the changes. # Contents This project contains source code for the die rolling program and a JUnit test that tests different aspects of the program. For example, the test tries to roll the die 60.000 times to see if we get expected random results. A branch called BugFixes contains code for a working version of the program. This branch is later merged to the master-branch. +Hej med dig. \ No newline at end of file