From befc22598bccce4eab2a542224ddb4f7d384b1e4 Mon Sep 17 00:00:00 2001
From: "Lalit2.Dangi@live.uwe.ac.uk" <lalit2.dangi@live.uwe.ac.uk>
Date: Tue, 1 Apr 2025 09:11:33 +0000
Subject: [PATCH] Add new file

---
 game.h | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 game.h

diff --git a/game.h b/game.h
new file mode 100644
index 0000000..51074e9
--- /dev/null
+++ b/game.h
@@ -0,0 +1,23 @@
+#ifndef GAME_H
+#define GAME_H
+
+#include "raylib.h"
+
+typedef struct Paddle {
+    Rectangle rect;
+    int speed;
+} Paddle;
+
+typedef struct Ball {
+    Vector2 position;
+    Vector2 speed;
+    int radius;
+} Ball;
+
+Paddle *CreatePaddle(float x, float y, float width, float height, int speed);
+Ball *CreateBall(float x, float y, int radius, float speedX, float speedY);
+void UpdateBall(Ball *ball, Paddle *paddle);
+void DrawGame(Paddle *paddle, Ball *ball);
+void FreeGame(Paddle *paddle, Ball *ball);
+
+#endif
-- 
GitLab