This game is a simulation of the classic rock-paper-scissors game, created using Kotlin. It allows you to play against another player or against the computer in single-player mode. For the best experience, it is recommended to run the game in Gnome terminal.
- Play against another player or against the computer in single-player mode.
- Choose between rock, paper, or scissors as your move.
- The game will determine the winner based on the rules of rock-paper-scissors.
- Keep track of your wins and losses.
- Enjoy a fun and interactive gaming experience.
- Kotlin programming language
- Clone this repository to your local machine.
- Make sure you have Kotlin installed on your system.
- Open the repository in your preferred IDE or text editor.
- Compile and run the Main.kt file.
- Follow the on-screen instructions to play the game.
- Enjoy!
- When prompted, choose whether you want to play against another player or against the computer.
- If playing against another player, take turns making your moves by entering '1' for rock, '2' for paper, or '3' for scissors.
- If playing against the computer, simply enter your move when prompted.
- The game will determine the winner based on the rules of rock-paper-scissors and display the result.
- Keep playing as many rounds as you like!
- To exit the game, simply enter 'ex' when prompted to make a move.
If you would like to contribute to this project, you can follow these steps:
- Fork this repository.
- Create a new branch with a descriptive name for your feature or bug fix.
- Make your changes and test thoroughly.
- Commit your changes with clear and concise commit messages.
- Push your changes to your forked repository.
- Create a pull request to merge your changes into the main repository.
Feel free to use, modify, and distribute this game as per the terms of the license.
- Inspired by the classic game of rock-paper-scissors.
- Developed using Kotlin programming language.
If you have any questions, suggestions, or feedback, please feel free to contact me at [[email protected]].
Happy gaming!