It is a personal project. I try to recreate of the popular mobile game "Fruit Ninja" using Pygame and the webcame with OpenCv.
Clone the repository
conda create -n venv python=3.9
conda activate venv
install requirements
pip install requirements.txt
Create the database. You must have MySQL.
python build_db.py --host #your/host --user #your/user/name --password #your/password --database #your/database/name
Lauch the game and enjoy !
python main.py --host #your/host --user #your/user/name --password #your/password --database #your/database/name
I would like to thank the creators of the original "Fruit Ninja" game for the inspiration, and the Pygame community for their support and resources.