Welcome to the Rock, Paper, Scissors Game project! This is a simple console-based game written in C# using the latest .NET framework. ๐
This project brings the timeless game of Rock, Paper, Scissors to life in a digital format. The player competes against a computer opponent to see who can emerge victorious. The game tracks points, determines winners for each round, and even includes a quirky "lava rocks!" move from the computer for some unexpected fun. ๐ฅ
- C#: A powerful, versatile language used for building Windows applications, games, and more.
- .NET (Latest Version): Leveraging the most modern and efficient features available in the framework.
- Download or Clone the Repository:
git clone https://github.com/TorresjDev/CSharp-Rock-Paper-Scissors-Game
- Open the Project:
- Open the
.sln
file in Visual Studio.
- Open the
- Build and Run:
- Use the Visual Studio Build & Run options.
- Gameplay:
- The game starts with a welcome message.
- The player inputs their move (
rock
,paper
, orscissors
). - The computer generates its move randomly.
- The winner for the round is announced, and points are adjusted.
- The player decides whether to continue or exit the game.
- Ensure you have the latest version of the .NET SDK installed.
- Navigate to the project directory:
cd RockPaperScissors
- Run the program:
dotnet run
- Win:
rock
beatsscissors
,scissors
beatspaper
, andpaper
beatsrock
. - Lose: The opposite of the above.
- Draw: Both the player and computer choose the same move.
- Special move: Computer occasionally plays
lava rocks!
(just for fun!). ๐
- Program.cs: The main entry point of the application.
- HumanPlayer.cs: Handles user input and player point management.
- ComputerPlayer.cs: Generates random computer moves.
Feel free to fork this repository and make it your own! Contributions are welcome.
- Fork the repo.
- Create your feature branch:
git checkout -b feature/AmazingFeature
- Commit your changes:
git commit -m 'Add some AmazingFeature'
- Push to the branch:
git push origin feature/AmazingFeature
- Open a pull request.
- Interactive gameplay.
- Dynamic point tracking system.
- Unique computer move for extra flair.
- User-friendly instructions and interface.
For any questions, feel free to reach out:
- GitHub: TorresjDev
Enjoy the game and may the best player win! ๐