uprm-inso4117-2023-2024-s2 / semester-project-study-pet

semester-project-study-pet created by GitHub Classroom
1 stars 3 forks source link

[Lecture Topic Task] Performance Testing for the Minigames #293

Closed Elielh17 closed 4 months ago

Elielh17 commented 5 months ago

Evaluate the performance of the minigame under various difficulty settings and potential future states with local storage data to ensure smooth gameplay.

Urgency: 3 Difficulty: 2

Elielh17 commented 4 months ago

Task Completed. The following was added to the documentation, to the section 4.11 Unit Testing at the end

https://docs.google.com/document/d/1OVempeF9_xd6mF7KFI6mCLDUOdY0dyVFXkLZH5gOtMg/edit#heading=h.c7d28wh37sjx

Minigame Performance Test Under Various Difficulty Settings

Objective: The primary goal of this analysis was to evaluate the performance of the minigame across various difficulty settings, focusing on ensuring smooth gameplay and interaction, especially when integrating potential future states with database storage. This integration aims to test how well the game handles dynamic data retrieval and updates, which are crucial for maintaining game state and user preferences over time.

Gameplay Smoothness: Easy Difficulty: Gameplay at this level was straightforward, offering a gentle introduction to the game mechanics. The game responded quickly to all inputs, with immediate feedback from the database interactions when retrieving or saving data. Medium Difficulty: This level provided a balanced challenge, with increased complexity in game scenarios. Despite the heightened demand, the database interactions remained fast and efficient, ensuring no disruption in gameplay fluidity. Hard Difficulty: The most advanced setting tested the game's performance under pressure, with rapid user interactions and more frequent database calls. The game maintained excellent performance, with no noticeable delays or hitches in processing database requests. Interface and Interaction: The user interface was consistently clear and responsive across all difficulties. Visual and auditory feedback was effectively synchronized with gameplay actions, enhancing user engagement without any perceptible lag due to database processing. Database Interaction: The game's integration with the database was robust, managing both real-time data updates and retrieval without impacting the gameplay experience. Tests indicated efficient handling of session data, user configurations, and game states, with all data being accurately recorded and retrieved as needed. Future State Projections: Given the current architecture and database performance, the game is well-prepared to handle increased user activity and data volume. This readiness suggests that the game's backend is capable of scaling to meet future demands without compromising on performance.

Conclusion: The minigame delivers outstanding performance across varying levels of difficulty, maintaining a high level of responsiveness and stability even under different database interaction scenarios. The seamless integration with the database ensures that user data is managed efficiently, supporting an uninterrupted and engaging gameplay experience.