Skip to content

datphung239/rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissors

About

  • Rock paper scissors game where you play against the computer.
  • This is my first project using HTML/CSS/JS.
  • 🔗 Live version of the game is here.

How to play

  • To begin, select one of the three weapon on player side
  • Computer automatically generate weapon
  • The first player to reach a score of 5 wins the game

What I learned

  • Better knowledge of HTML/CSS/Javascript basics using the DOM to manipulate elements and styles.
  • Listening for and responding to user actions with DOM events
  • Applying knowledge of JavaScript fundamentals to code a working game
  • Solving problem by breaking down large chunks of logic into smaller functions
  • Familiarized myself with the Chrome developer tools.

What will improve

  • Improve UI for better interaction
  • Better mobile support.
  • Cleaner code, improve code structure and code readability.
  • My commit messages are still not perfect.

Languages / Technologies

  • HTML/CSS/JavaScript
  • Visual Studio Code
  • Linux terminal
  • Git and Github
  • Chrome developer tools