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
- 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()
- Play against the computer
- Randomized computer choices
- Round-based game logic
- Score tracking
- Console-based interaction
- JavaScript (ES6+)
-
Clone the repository:
git clone <your-repo-url>
-
Open the project directory
-
Open the
index.htmlfile in a web browser -
Open the browser's developer tools and navigate to the Console tab
- Chrome / Edge:
Ctrl + Shift + J(Windows/Linux) orCmd + Option + J(macOS) - Firefox:
Ctrl + Shift + K(Windows/Linux) orCmd + Option + K(macOS)
- Chrome / Edge:
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.