A simple Rock, Paper, Scissors game built with Node.js, playable via the command line.
- Clone this repository:
git clone https://github.com/iAmForyyDev/fastrps.git
cd fastrps- Run the game
npm start- Enter a number to select your move:
- 0 → Rock
- 1 → Paper
- 2 → Scissors
- The computer will randomly choose its move, and the result will be displayed.
- Node.js v22+
- NPM installed
📦 fastrps
┣ 📂 src
┃ ┣ 📂 models
┃ ┃ ┣ 📜 gameResult.js
┃ ┃ ┗ 📜 moveType.js
┃ ┣ 📂 services
┃ ┃ ┗ 📜 selectionService.js
┃ ┣ 📜 game.js
┃ ┣ 📜 index.js
┗ 📜 package.json
- ✅ Playable via command line
- ✅ Random AI opponent
- ✅ Simple and lightweight
This project is licensed under the MIT License.