position absolute and relative, if and else to get the results

Solution retrospective
positions to position the icons and moves, if and else to get the different results. The cpu moves are done randomly with a Math.random.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Mayck Luciano's solution.
Join 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