From d7ac7286b390ef64c5f8697ae5a552e7b2725c00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Heisbroken=20=F0=9F=8E=80=F0=9F=8E=A7=E2=9C=8D=EF=B8=8F?=
<189724328+Neaterry6@users.noreply.github.com>
Date: Sat, 30 Aug 2025 09:07:10 +0100
Subject: [PATCH 01/11] Update index.html
---
views/index.html | 571 +++++++++++++----------------------------------
1 file changed, 160 insertions(+), 411 deletions(-)
diff --git a/views/index.html b/views/index.html
index c24ddfa5..5948342f 100644
--- a/views/index.html
+++ b/views/index.html
@@ -1,411 +1,160 @@
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
\ No newline at end of file
From 628fb4ec9fb540b1b568da93546622d260e76461 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Heisbroken=20=F0=9F=8E=80=F0=9F=8E=A7=E2=9C=8D=EF=B8=8F?=
<189724328+Neaterry6@users.noreply.github.com>
Date: Sat, 30 Aug 2025 09:28:45 +0100
Subject: [PATCH 03/11] Update game.html
---
views/game.html | 924 ++++++++++++++++++------------------------------
1 file changed, 343 insertions(+), 581 deletions(-)
diff --git a/views/game.html b/views/game.html
index 4b95505e..633583b0 100644
--- a/views/game.html
+++ b/views/game.html
@@ -1,593 +1,355 @@
-
-
-
-
-
-
-
-
๐Ping Pong
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Loading...
-
-
-
-
-
-
-
Ping Pong
-
-
- โ ๐PEMAIN PERTAMA MENCETAK 10 POIN YANG AKAN MENANG๐ .
-
-
-
- Level Pemula
-
-
- Level Sedang
-
-
- Level Mustahil
-
-
-
-
-
-
-
- Kamu Menang :D
-
-
-
- Mulai Ulang
-
-
-
-
-
-
-
-
-
-
-
-
-
- Back To Rest Api
-
-
- Banyak orang gagal karena mereka tidak memahami usaha yang diperlukan untuk menjadi sukses. Yukino Yukinoshita (Oregairu), Kita harus mensyukuri apa yang kita punya saat ini, karena mungkin orang lain belum tentu mempunyainya. Kayaba Akihiko (Sword Art Online),
-
-
-
-
+ document.getElementById("result").innerHTML = txt;
+ document.getElementById('status').style.display = 'block';
+ document.getElementById('status').classList.add('animate-pop');
+ }
+
+ run = setInterval(game, 1000 / fps);
+ }
+
+ function again() {
+ document.getElementById('status').style.display = 'none';
+ document.getElementsByClassName('tab')[0].style.transform = 'scale(1)';
+ document.getElementsByClassName('tab')[0].classList.add('animate-pop');
+ }
+
+ function eas() {
+ aiLevel = 0.03;
+ document.getElementById("easy").classList.add('bg-cyan-500', 'text-white');
+ document.getElementById("hard").classList.remove('bg-cyan-500', 'text-white');
+ document.getElementById("impossible").classList.remove('bg-cyan-500', 'text-white');
+ win.play();
+ lose.play();
+ init();
+ }
+
+ function har() {
+ aiLevel = 0.06;
+ document.getElementById("easy").classList.remove('bg-cyan-500', 'text-white');
+ document.getElementById("hard").classList.add('bg-cyan-500', 'text-white');
+ document.getElementById("impossible").classList.remove('bg-cyan-500', 'text-white');
+ win.play();
+ lose.play();
+ init();
+ }
+
+ function imp() {
+ aiLevel = 0.7;
+ document.getElementById("easy").classList.remove('bg-cyan-500', 'text-white');
+ document.getElementById("hard").classList.remove('bg-cyan-500', 'text-white');
+ document.getElementById("impossible").classList.add('bg-cyan-500', 'text-white');
+ win.play();
+ lose.play();
+ init();
+ }
+
+