Welcome to the Rock Paper Scissors project! This is a simple web-based game where you can play Rock Paper Scissors against the computer.
The project is structured as follows:
Assets/
: Contains assets like images and stylesheets.Assets/Scss/Main.css
: The main stylesheet for the game.Assets/Images/
: This directory holds images for rock, paper, and scissors.
Assets/Scripts/main.js
: The JavaScript code for the game logic.deprecated
index.html
: The main HTML file that defines the game's structure and layout.src/index.ts
: The TypeScript code for the game logic.
- Open
index.html
in your web browser. - Click on either "Rock," "Paper," or "Scissors" to make your choice.
- The computer will make its choice.
- The result will be displayed on the screen, indicating whether you won, lost, or tied the round.
- The round number is displayed at the top.
We welcome contributions from the community. To contribute, please follow these steps:
- Fork the repository to your own GitHub account.
- Clone the forked repository to your local machine.
git clone https://github.com/samuelegin/rock-paper-scissors-game.git
sass <input>.scss <output>.scss -w
tsc -w