Skip to content

The rock paper scissors program demonstrated in the Databased room for the Open Day 2024

Notifications You must be signed in to change notification settings

databasedIISc/Open_Day-RockPaperScissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IISc open day 2024 - Databased rock paper scissors

This is a simple python program that levarages mediapipe in order to detect hands and play rock paper scissors against the computer picking randomly

Instructions

  • This program requires mediapipe, opencv-python and keyboard installed
pip install opencv-python mediapipe keyboard
  • Press esc to switch to out of game mode, here up to four hands are detected at once
  • Press enter to switch into game mode
    • Here, there are 5 rounds. Show your hand when the text "Ready" appears.
    • A score above 8 is counted as a win (you receive 3 for a win and 1 for a draw)
    • Hold your hand upright for best results

About

The rock paper scissors program demonstrated in the Databased room for the Open Day 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages