diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..2ba986f --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "chrome", + "request": "launch", + "name": "Launch Chrome against localhost", + "url": "http://localhost:8080", + "webRoot": "${workspaceFolder}" + } + ] +} \ No newline at end of file diff --git a/login.html b/login.html new file mode 100644 index 0000000..692d2e6 --- /dev/null +++ b/login.html @@ -0,0 +1,404 @@ + + +
+ + +
+
+
+
+
+
+
+
+
+
+
+
+ Login untuk bermain Memory Flip Card Game
++ Belum punya akun? + Daftar Sekarang +
+ + + + + + \ No newline at end of file diff --git a/login.php b/login.php new file mode 100644 index 0000000..8b2a96e --- /dev/null +++ b/login.php @@ -0,0 +1,40 @@ + + alert('Username atau Password salah!'); + window.location.href='index.html'; + "; + exit; + } + + // Login sukses + $_SESSION['username'] = $row['username']; + $_SESSION['login'] = true; // Tambahan untuk cek status login nanti + + // PERBAIKAN 3: Arahkan ke file game kamu (sesuaikan nama filenya) + // Di screenshot ada mainboard.html, pakai itu. + echo ""; + exit; +} +?> \ No newline at end of file diff --git a/register.html b/register.html new file mode 100644 index 0000000..335a183 --- /dev/null +++ b/register.html @@ -0,0 +1,321 @@ + + + + + +
+
+
+
+
+
+
+
+
+
+
+ Daftar untuk bermain Memory Card Game
+ + + ++ Sudah punya akun? Login Sekarang +
+