Skip to content

askdebb/Rock-Paper-Scissors-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rock-Paper-Scissors

Designed with HTML, CSS and JS.

Achievements

  • Developed Rock-Paper-Scissors game with HTML, CSS and JS only.
  • Broaden and reinforce my inderstanding on syntax in JS; such as the use of:
    • arrays
    • lists
    • objects
    • functions
    • conditions( if statments/ switch)
    • iterative (for and its loop, forEach, filter, map)
    • modules
    • imports just to name few.
  • Re-usable components,
  • Fewer webpages created

Anatomy (Flow chart)

Challenges

Difficulties in using the same functions for different levels because each level had its unique behavior and it was not favorable to use the same functions to run the levels. This led to the creation of different script files for different levels by the use of module and import concepts to ensure some reusable components or functions that work the same across all levels.

The nature of the unique behavior of each level leads to employing different logic.

Summary

This has been an interesting journey for me because I can programmatically display what happens in real events.

About

Made with JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published