The included Rock, Paper, Scissors game has a straightforward but captivating solo experience with an eye-catching interface. The computer will randomly select a player between Rock, Paper, and Scissors to determine the winner. The code, built using HTML, CSS, and JavaScript, achieves a seamless integration of these technologies to create an interactive game. Challenges that were encountered during the design process, such as implementing the random number generation for computer choice were complicated as I ran into an error with the Math.random() method which led to unexpected computer choices and to fix this I ensured the random number generation was multiplied by the length of the choices array and rounded to get a valid index. The success comes from creating a game that is both entertaining and useful. In order to enhance user engagement and enrich the game's features, future improvements may include score tracking, extended options, difficulty levels, animations, and even a multiplayer mode.

Built With

Share this project:

Updates