Welcome to the Rock, Paper, Scissors Game ๐, a simple and fun CLI-based game written in Kotlin! ๐ Test your luck and skills against the computer in this timeless classic! ๐ค vs ๐งโ๐ป
- ๐ชจ Rock, ๐ Paper, โ๏ธ Scissors game logic
- ๐ค Play against the computer
- ๐น๏ธ Interactive Command-Line Interface
- ๐ Clean and well-documented Kotlin code
git clone https://github.com/yourusername/rock-paper-scissors-kotlin.git
cd rock-paper-scissors-kotlin
- A code editor like IntelliJ IDEA or a terminal.
- Kotlin: Make sure Kotlin is installed. You can check by running:
kotlin -version
1.Run the program:
kotlinc RockPaperScissors.kt -include-runtime -d RockPaperScissors.jar
java -jar RockPaperScissors.jar
-
Follow the instructions on the screen to make your move:
- Type rock, paper, or scissors.
-
The computer will randomly choose its move, and the winner will be displayed! ๐
Contributions are always welcome!
Feel free to fork this repository, make changes, and submit a pull request. ๐
This project is licensed under the MIT License. See the LICENSE file for details.