Akki-jaiswal / Akki-jaiswal/pong-game

Mobile Performance: Ball Speed is Slow on Mobile Devices

Offen
#53 4 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @Shiv24angi Auf GitHub ansehen
bug difficulty enhancement gssoc25
Vorherrschende Sprache
JavaScript
Sterne
22
Forks
116
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### **Bug: Mobile Performance - Ball Speed is Slow on Mobile Devices 🐢📱**

**Problem Description:**
When playing the Pong game on mobile devices (e.g., smartphones, tablets), the ball's movement speed appears significantly slower compared to playing on desktop browsers. This makes the game feel sluggish, unresponsive, and ultimately very boring 😴, detracting from the overall gameplay experience.

**Observed Behavior:**
* On desktop browsers, the ball moves at an appropriate and engaging speed. 🚀
* On mobile devices, the ball's movement is visibly slower, as if the game's frame rate or update logic is struggling to keep up. 🐌

**Impact:**
* Degrades the user experience on mobile, making the game less enjoyable and challenging. 📉
* Reduces the game's responsiveness and overall playability on a significant platform. 😟

**Expected Behavior / Acceptance Criteria:**
* The ball's movement speed should be consistent and fluid across all devices (desktop, tablet, and mobile). 🎯
* The game should feel equally responsive and engaging on mobile devices as it does on desktops. ✨

**Possible Areas for Investigation (Suggestions for Contributors):**
* Reviewing the game loop and update logic to ensure it adapts well to varying device performance. ⚙️
* Checking for potential frame rate drops on mobile and how they affect the ball's position updates. 📉
* Ensuring that any time-based movements are calculated correctly regardless of device processing speed. ⏱️
*

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.