Sfoglia il codice sorgente

changed the method server host

Yesoda Sanka 6 anni fa
parent
commit
a97e977969
2 ha cambiato i file con 6 aggiunte e 4 eliminazioni
  1. 4
    2
      WriteLoops.java
  2. 2
    2
      package.bluej

+ 4
- 2
WriteLoops.java Vedi File

@@ -179,10 +179,12 @@ public class WriteLoops {
179 179
         int highestScore = 236;
180 180
         int currentScore = gameNextScore();
181 181
         int runningScore = 0;
182
-        while(runningScore<highestScore)
182
+        while(runningScore<=highestScore)
183 183
         {
184 184
             runningScore=runningScore+currentScore;
185 185
             w=w+1;
186
+            currentScore=gameNextScore();
187
+            
186 188
         }
187 189
 
188 190
         // do your while loop here
@@ -228,7 +230,7 @@ public class WriteLoops {
228 230
         }
229 231
         if(result==false)
230 232
         {
231
-            sendEmergencyText("help","adminPhoneNumber");
233
+            sendEmergencyText("Help","adminPhoneNumber");
232 234
             tryServerRestart("","");
233 235
             w=w+1;
234 236
         }

+ 2
- 2
package.bluej Vedi File

@@ -6,8 +6,8 @@ dependency2.from=WriteLoopsTest
6 6
 dependency2.to=WriteLoops
7 7
 dependency2.type=UsesDependency
8 8
 editor.fx.0.height=709
9
-editor.fx.0.width=688
10
-editor.fx.0.x=464
9
+editor.fx.0.width=1280
10
+editor.fx.0.x=0
11 11
 editor.fx.0.y=23
12 12
 objectbench.height=83
13 13
 objectbench.width=740