Design comparison
Solution retrospective
I'm proud that, I didn't use any external resources to complete this challenge. I finished this game in a short period of time with my knowledge in programming.
What challenges did you encounter, and how did you overcome them?Here's an improved and fixed version of your text, making it clearer and more structured:
Challenges I faced:
1.Implementing a system where the computer generates random icons to compete against the player. 2.Developing the logic to determine how the player wins or loses. 3.Creating a ripple effect to indicate the winner.
My solutions:
1.I wrote a method that generates random icons for the computer every time the player clicks a button. 2.I assigned names to each icon. When these icons are compared, the player either wins or loses based on the game rules. 3.I wrote CSS styling and animation for the ripple effect and triggered it in JavaScript when a player wins.
Community feedback
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord