Kavya-24 / Snippets

Hacktoberfest 2024
41 stars 278 forks source link

Enhancements for 2048 Game Experience through Animation and Modal Int… #487

Open vanshkamra12 opened 3 weeks ago

vanshkamra12 commented 3 weeks ago

Description: This pull request implements two significant enhancements to the 2048 game: the addition of CSS animations for tile movements and the introduction of a modal dialog to notify players when the game is over. These improvements aim to provide a smoother user experience and better visual feedback.

Fixes: #issue_number_here (1)

Motivation and Context: The enhancements were motivated by the need to improve user engagement and clarity during gameplay. CSS animations provide a more dynamic and interactive feel as players move tiles, while the modal dialog informs players of game status, making the game more user-friendly and visually appealing.

Dependencies: No additional dependencies are required for this change. Type of change: Bug fix (non-breaking change which fixes an issue) New feature (non-breaking change which adds functionality) Breaking change (fix or feature that would cause existing functionality to not work as expected) Change in documentation Checklist: My code follows the style guidelines of this project. I have performed a self-review of my own code. I have commented my code, particularly in hard-to-understand areas. I have made corresponding changes to the documentation. My changes generate no new warnings. I have added tests that prove my fix is effective or that my feature works. New and existing unit tests pass locally with my changes. Any dependent changes have been merged and published in downstream modules. Necessary documentation changes done. I have added the file in the correct directory.