Give sample players lower scores so real players show up on leaderboard

This commit is contained in:
Andrew Guibert 2018-04-12 22:50:48 -05:00
parent a5cd5e1c21
commit 98c9fdbfe9
2 changed files with 4 additions and 2 deletions

View File

@ -20,9 +20,9 @@
</div>
</div>
<div class="button-bar">
<button type="button" (click)="joinRound()">Join Round</button>
<button type="button" (click)="joinRound()">Join Game</button>
<hr/>
<button id="hostButton" type="button" (click)="hostRound()" data-loading-text="Connecting..." autocomplete="off">Host Round</button>
<button id="hostButton" type="button" (click)="hostRound()" data-loading-text="Connecting..." autocomplete="off">Host Games</button>
</div>
</div>
</div>

View File

@ -31,6 +31,8 @@ public class PlayerService {
String id = createPlayer("SamplePlayer-" + i, null);
for (int j = 0; j < 3; j++)
recordGame(id, r.nextInt(4) + 1);
for (int j = 0; j < 10; j++)
recordGame(id, 4);
}
}