diff --git a/.gitignore b/.gitignore index ea8c4bf..11400c7 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /target +hiscores.json +loscores.json diff --git a/.leaderboard.html.swp b/.leaderboard.html.swp new file mode 100644 index 0000000..84732c8 Binary files /dev/null and b/.leaderboard.html.swp differ diff --git a/index.html b/index.html index 00a2810..fa68d21 100644 --- a/index.html +++ b/index.html @@ -39,7 +39,7 @@ const regex = new RegExp("^[a-zA-Z0-9_-]+$"); let name = validate_data(prompt("Nickname for the leaderboard")); console.log(name) - const ws = new WebSocket('ws://deadvey.com:8084/ws'); + const ws = new WebSocket('ws://localhost:8084/ws'); ws.onopen = (event) => { ws.send(name); }; diff --git a/index2.html b/index2.html deleted file mode 100644 index b004bad..0000000 --- a/index2.html +++ /dev/null @@ -1,85 +0,0 @@ - - - -

Each time you press the button there's a 1/3 chance of returning to 0

- -
- - - - diff --git a/leaderboard.html b/leaderboard.html index cd21277..2d1e40b 100644 --- a/leaderboard.html +++ b/leaderboard.html @@ -4,7 +4,12 @@ -
+

Hiscores

+
+

Loscores

+
+

Pingscores

+