Skip to content

HtetAungH/RockPaperScissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

RockPaperScissors

Rock, Paper, Scissors Game

Description

This is a simple console-based Rock, Paper, Scissors game implemented in Java. The game allows a user to play against the computer, where both the user and the computer make a choice of Rock, Paper, or Scissors. The program determines the winner based on the standard rules of the game.

Requirements

  • Java Development Kit (JDK) 8 or higher

How to Run

  1. Save the Code: Save the Java code in a file named RockPaperScissors.java.

  2. Open Terminal or Command Prompt: Navigate to the directory where RockPaperScissors.java is located.

  3. Compile the Code: Compile the Java code using the following command:

    javac RockPaperScissors.java
    java RockPaperScissors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages