Akki-jaiswal / Akki-jaiswal/pong-game
Mobile Performance: Ball Speed is Slow on Mobile Devices
- Lenguaje dominante
- JavaScript
- Estrellas
- 22
- Forks
- 116
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### **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. ⏱️
*
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.