Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Fruits Crash

A fruit slicing game using computer vision, inspired by Fruit Ninja.

Requirements

  • Python 3.x
  • A webcam

How to Use

  1. Install the required dependencies using the following command:
    pip install -r requirements.txt
  2. Run the game:
    python3 game.py
  3. Stand in front of your camera. Raise your hand so the camera can see your index finger.
  4. Move your index finger around to slice the fruits (watermelon, orange, lemon) that spawn on the screen.
  5. Avoid slicing the bombs! If you slice a bomb, the game is over.
  6. Press the 'R' key to restart the game if you lose.
  7. Press the 'Q' or 'Esc' key to quit the game at any time.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages