Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Rock Paper Scissors

About

This project is a console-based Rock Paper Scissors game built with JavaScript as part of the Foundations course from The Odin Project.

Project reference: https://www.theodinproject.com/lessons/foundations-rock-paper-scissors

Learning Objectives

  • Apply problem decomposition to a simple interactive program
  • Structure code using reusable functions
  • Implement control flow with conditional logic
  • Manage application state (score tracking)
  • Utilize randomness via Math.random()

Features

  • Play against the computer
  • Randomized computer choices
  • Round-based game logic
  • Score tracking
  • Console-based interaction

Technologies

  • JavaScript (ES6+)

How to Run

  1. Clone the repository:

    git clone <your-repo-url>
  2. Open the project directory

  3. Open the index.html file in a web browser

  4. Open the browser's developer tools and navigate to the Console tab

    • Chrome / Edge: Ctrl + Shift + J (Windows/Linux) or Cmd + Option + J (macOS)
    • Firefox: Ctrl + Shift + K (Windows/Linux) or Cmd + Option + K (macOS)

Notes

This project focuses on core programming fundamentals rather than user interface design. The primary objective is to reinforce logical reasoning, code organization, and basic development workflow.

About

Console-based Rock Paper Scissors game implemented in JavaScript. Emphasizes modular functions, game logic, score tracking, and use of randomness. Built following The Odin Project curriculum.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages