Skip to content

SelormDev/rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock✊ Paper✋ Scissors✌

Try it out!

Overview

This project, part of The Odin Project, was a practical exercise in DOM manipulation using CSS and JavaScript. While the project's user interface may not be visually polished, it successfully demonstrates effective DOM manipulation techniques. Rock Paper Scissors Rock Paper Scissors

Description

  • This is a simple rock-paper-scissors game.
  • The user can play against the computer.
  • The user can choose to play against a friend (Not yet implemented).
  • The user plays in a best of 5 game.

Building With

  • JavaScript
  • CSS
  • HTML

 

Highlights

  • DOM Manipulation: The project extensively employs DOM manipulation to create a dynamic user experience, updating game states and results without requiring page reloads.

  • Efficient Game Logic: I implemented efficient JavaScript logic to determine game outcomes accurately, considering the player's choice and the computer's randomized selection.

  • DRY Code: Maintaining code DRYness was a bit of a challenge but I tried my best to minimized repetition by using functions and reusing code blocks. Feedback on further DRYness improvements would be valuable.

Request for Feedback

I invite feedback on the project, particularly regarding code quality and DRYness. Although the UI is basic, I'm eager to refine my coding skills further.

Conclusion

This assignment provided hands-on experience with DOM manipulation and JavaScript. While open to improvement, it serves as a testament to my growing proficiency in web development.

If you would like to review the code or provide feedback, please let me know, and I'll gladly share the relevant code files.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published