Skip to content

Conversation

@shrutidev18
Copy link

This pull request introduces a multiplayer mode to the Rock-Paper-Scissors game, expanding it beyond the current single-player (Player vs Computer) setup. Users can now choose to play against another human player.

-👥 Multiplayer Mode:
Players can choose between:
Single Player: Player vs Computer
Multiplayer: Player 1 vs Player 2

-🧠 Updated game flow to handle alternating inputs from both players

-📊 Separate score tracking for:
Player 1
Player 2

-📋 Final results display each player’s performance (wins/losses/ties)

-🌐 Multilingual support maintained across both modes

fixes #17

Added a README.md file
- Introduced support for multiplayer gameplay alongside existing single-player mode.
- Users can now select between:
  - Single Player (Player vs Computer)
  - Multiplayer (Player 1 vs Player 2)
- Game logic updated to handle two-player input and alternate turns.
- Added separate score tracking for both players, including wins, losses, and ties.
- Final results are displayed based on each player’s performance.
- Maintained backward compatibility with original single-player flow.
- Updated prompts and flow to accommodate language support for both modes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Multiplayer Support to Rock-Paper-Scissors Game

1 participant