Skip to content

Methasit-Pun/squativa

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

25 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Squativa

Rhythm-based squat game using computer vision β€’ Built at Intania Hackathon

TL;DR: Guitar Hero but squat. Camera tracks your form. Compete with friends. Get fit.

Video Demo

20250330_145531.mp4

The Product Demo on stage

Gameplay

What It Does

  • βœ… Real-time squat detection via MediaPipe pose estimation
  • βœ… Rhythm-based scoring system synced to music
  • βœ… 2-player competitive mode
  • βœ… Form validation and feedback
  • βœ… Multiple songs + difficulty levels

Tech Stack

Python 3.10  |  Pygame  |  OpenCV  |  MediaPipe

Quick Start

# Clone
git clone https://github.com/Toodmuk/squativa.git
cd squativa

# Install
pip install pygame opencv-python mediapipe

# Run
python main.py

That's it. No cap.

How It Works

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”      β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  Webcam     │─────▢│  MediaPipe   │─────▢│  Game Logic β”‚
β”‚  Feed       β”‚      β”‚  Pose Est.   β”‚      β”‚  & Scoring  β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜      β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
File Purpose
main.py Entry point
game.py Core game loop + logic
screens.py UI screens (menu, game, results)
opcv/squat_late.py CV squat detection
utils.py Asset loading + rendering

Built with πŸ”₯ at Intania Hackathon

About

πŸ† 1st Runner-up @ Intania Hackathon. A multiplayer rhythm game powered by webcam squat detection

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%