Added multiplayer mode to Rock-Paper-Scissors game#18
Open
shrutidev18 wants to merge 2 commits intoaviralshukla12:mainfrom
Open
Added multiplayer mode to Rock-Paper-Scissors game#18shrutidev18 wants to merge 2 commits intoaviralshukla12:mainfrom
shrutidev18 wants to merge 2 commits intoaviralshukla12:mainfrom
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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