This project is a simple implementation of the classic Paper-Rock-Scissors game, built with Angular. It is part of the Udemy course 30 Days of Angular: Build 30 Web Projects with Angular.
The PaperRockScissors app allows users to play the traditional game against a computer opponent. The application demonstrates Angular fundamentals, including component-based architecture, event handling, and state management.
Features:
- Choose between Rock, Paper, or Scissors
- Play against a computer with random choices
- Automatic score tracking for both player and computer
- Game reset functionality
- Simple and clean UI
- Node.js (v18 or higher recommended)
- Angular CLI
- Clone the repository:
git clone https://github.com/MuhammadAlifBudiman/paper-rock-scissors.git cd paper-rock-scissors
- Install dependencies:
npm install
Start the local development server:
ng serve
Visit http://localhost:4200/ in your browser. The app will reload automatically if you make changes to the source files.
To build the project for production:
ng build
The build artifacts will be stored in the dist/
directory.
Run unit tests with Karma:
ng test
Run e2e tests (if configured):
ng e2e
- 30 Days of Angular: Build 30 Web Projects with Angular (Udemy)
- Angular Documentation
- Angular CLI Overview and Command Reference
This project is for educational purposes as part of the Udemy course. Please refer to the course or instructor for licensing details.