diff --git a/ingame.html b/ingame.html
deleted file mode 100644
index 4240442..0000000
--- a/ingame.html
+++ /dev/null
@@ -1,522 +0,0 @@
-
-
-
-
-
-Hit or Run
-
-
-
-
-
-
-
-
-
DECK
-
-
-
-
DEALER
-
-
Total Dealer: 0
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/public/draw.php b/public/draw.php
new file mode 100644
index 0000000..44b9468
--- /dev/null
+++ b/public/draw.php
@@ -0,0 +1,14 @@
+prepare($sql);
+ $stmt->bind_param("i", $betvalue);
+ $stmt->execute();
+ $stmt->close();
+
+ $conn->close();
+?>
\ No newline at end of file
diff --git a/public/winning.php b/public/winning.php
new file mode 100644
index 0000000..c263fca
--- /dev/null
+++ b/public/winning.php
@@ -0,0 +1,23 @@
+prepare($sql);
+ $stmt->bind_param("ii", $uid, $winvalue);
+ $stmt->execute();
+ $stmt->close();
+
+ $sql2 = "UPDATE users SET money = money + ? WHERE uid = ?";
+ $stmt2 = $conn->prepare($sql2);
+ $stmt2->bind_param("ii", $winvalue, $uid);
+ $stmt2->execute();
+ $stmt2->close();
+
+ $conn->close();
+?>
\ No newline at end of file