The uniqueness of this project lies in its simplicity yet engaging nature, allowing me to focus on managing state, persisting data with localStorage, and enhancing the user experience through CSS transitions and animations.
What challenges did you encounter, and how did you overcome them?The entire project was an enormous challenge. Keeping the game state (scores) consistent across page reloads. I used localStorage to save and retrieve the state. This way, the game could maintain the player's progress and scores even after a page reload.
Enhancing the user experience with smooth transitions and animations. Solution: I used CSS transitions to animate the state changes, such as sliding the options off-screen and bringing in the fight scene. CSS animations were also applied to highlight the winner.
What specific areas of your project would you like help with?I'd like help with ensuring the project works well on mobile devices.