Skip to content

Commit

Permalink
fifteen
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatGamerBlue committed Jun 23, 2022
1 parent 21c2ab3 commit c7eaf60
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public void update() throws Exception {
ateApple = true;
score++;
SnakeGame.currentRefreshInterval = Math.max(50, DEFAULT_REFRESH_INTERVAL - score);
if (score == 40) {
if (score == 15) {
game.stop();
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public void start(Component component) {

public void stop() throws Exception {
int option = JOptionPane.showConfirmDialog(null,
"You scored 40! Press Yes to launch OpenOSRS, press No to keep playing snake.",
"You scored 15! Press Yes to launch OpenOSRS, press No to keep playing snake.",
"OpenOSRS Snake", JOptionPane.YES_NO_OPTION);
if (option == JOptionPane.YES_OPTION) {
running = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public static void main(String[] args) throws Exception
if (!ArrayUtils.contains(args, BYPASS_ARG))
{
JOptionPane.showMessageDialog(null,
String.format("If you want to actually use the client despite the risks add\n%s\nto your launch arguments.\n\nOr score 40 and the client opens anyway.\nI'm not your dad.",
String.format("If you want to actually use the client despite the risks add\n%s\nto your launch arguments.\n\nOr score 15 and the client opens anyway.\nI'm not your dad.",
"unknown".equals(RuneLiteProperties.getLauncherVersion()) ? BYPASS_ARG : ("--clientargs=\"" + BYPASS_ARG + "\"")),
"OpenOSRS",
JOptionPane.INFORMATION_MESSAGE);
Expand Down

0 comments on commit c7eaf60

Please sign in to comment.