Rock Paper Scissors

Rock, Paper, Scissors against the computer, with a saved score, auto-play mode, and full keyboard controls.

Screenshot of Rock Paper Scissors

About this project

The classic game against a random computer opponent, built with plain JavaScript.

Key features:

  • Wins, losses, and ties tracked and saved in localStorage
  • Auto Play mode where the game plays itself every second, with an on and off status
  • Keyboard shortcuts: R, P, and S to play, A for auto play, Backspace or Delete to reset
  • Reset confirmation with Yes and No buttons, also answerable with the keyboard
  • Move images for both the player and the computer