From da4ffe176ca7e1685837e6967c62ebfc7b274f90 Mon Sep 17 00:00:00 2001 From: ByteDice Date: Sat, 30 Aug 2025 23:05:15 +0200 Subject: [PATCH] Fixed bugs/typos and added the base for the SC Tracker toy --- README.md | 2 +- global/globalScript.js | 5 ++- toys/index.html | 20 +++++++++- toys/license/index.html | 2 +- toys/sc-tracker/index.html | 80 ++++++++++++++++++++++++++++++++++++++ toys/sc-tracker/script.js | 1 + toys/sc-tracker/style.css | 0 7 files changed, 105 insertions(+), 5 deletions(-) create mode 100644 toys/sc-tracker/index.html create mode 100644 toys/sc-tracker/script.js create mode 100644 toys/sc-tracker/style.css diff --git a/README.md b/README.md index 4cc982e..9de88c0 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # ByteDiceWeb - [ByteDice.net](https://bytedice.net) -> A small website served as a place to find all (not yet all) content related to Byte Dice. +> A small website served as a place to find content related to Byte Dice. # Open-source - Copyright diff --git a/global/globalScript.js b/global/globalScript.js index 747b11e..a48119c 100644 --- a/global/globalScript.js +++ b/global/globalScript.js @@ -4,6 +4,7 @@ const PAGES = { SYNTHWAVE: 1, TOYS: 2, LICENSE: 3, + SC_TRACKER: 4 } const CONSOLE_COLORS = { red: "color: #FF0000;", @@ -32,8 +33,8 @@ function randomInt(min, max) { } -function randomBool(probablity) { - return Math.random() <= probablity +function randomBool(probability) { + return Math.random() <= probability } diff --git a/toys/index.html b/toys/index.html index f22a18a..52adeef 100644 --- a/toys/index.html +++ b/toys/index.html @@ -15,6 +15,15 @@ + + + + + + + + + @@ -26,11 +35,20 @@ +
  • + +
  • diff --git a/toys/license/index.html b/toys/license/index.html index 527d77b..c6a2083 100644 --- a/toys/license/index.html +++ b/toys/license/index.html @@ -28,7 +28,7 @@ - + diff --git a/toys/sc-tracker/index.html b/toys/sc-tracker/index.html new file mode 100644 index 0000000..1f55a38 --- /dev/null +++ b/toys/sc-tracker/index.html @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + Byte Dice - Super Credit Tracker + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    + +
    + + + + + + + + + + + + + + \ No newline at end of file diff --git a/toys/sc-tracker/script.js b/toys/sc-tracker/script.js new file mode 100644 index 0000000..f1382df --- /dev/null +++ b/toys/sc-tracker/script.js @@ -0,0 +1 @@ +CURRENT_PAGE = PAGES.SC_TRACKER \ No newline at end of file diff --git a/toys/sc-tracker/style.css b/toys/sc-tracker/style.css new file mode 100644 index 0000000..e69de29