Skip to content

A simple game of Paper, Rock, Scissors (Janken) inspired by traditional Japanese games

Notifications You must be signed in to change notification settings

andikatuluspangestu/janken

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Janken - Japanese Traditional Game

Description

This is a simple game of rock-paper-scissors, which is called "Janken" in Japanese. A player can choose one of three options: rock, paper, or scissors. The computer will randomly choose one of the three options. The winner is determined by the following rules:

  • Rock wins against scissors.
  • Scissors win against paper.
  • Paper wins against rock.

How to Play

  1. Clone this repository.
  2. Run index.html in your browser.
  3. Click on one of the three buttons to choose your option.
  4. The computer will randomly choose one of the three options.
  5. The result will be displayed on the screen.
  6. Click on the "Play Again" button to play again.

Demo

Janken Demo

Technologies Used

  • HTML
  • CSS
  • JavaScript (ES6)
  • jQuery

LICENSE

MIT License, you can modify and use this project for educational purposes only.

About

A simple game of Paper, Rock, Scissors (Janken) inspired by traditional Japanese games

Topics

Resources

Stars

Watchers

Forks