Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastRPS

A simple Rock, Paper, Scissors game built with Node.js, playable via the command line.

🚀 How to Play

  1. Clone this repository:
git clone https://github.com/iAmForyyDev/fastrps.git 
cd fastrps
  1. Run the game
npm start
  1. Enter a number to select your move:
  • 0 → Rock
  • 1 → Paper
  • 2 → Scissors
  1. The computer will randomly choose its move, and the result will be displayed.

📌 Requirements

  • Node.js v22+
  • NPM installed
📦 fastrps
┣ 📂 src
┃ ┣ 📂 models
┃ ┃ ┣ 📜 gameResult.js
┃ ┃ ┗ 📜 moveType.js
┃ ┣ 📂 services
┃ ┃ ┗ 📜 selectionService.js
┃ ┣ 📜 game.js
┃ ┣ 📜 index.js
┗ 📜 package.json

⚡ Features

  • ✅ Playable via command line
  • ✅ Random AI opponent
  • ✅ Simple and lightweight

📜 License

This project is licensed under the MIT License.

About

rock, paper, scissors game

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages