A macOS application that uses your MacBook's lid angle sensor to control a basketball game. Move your lid to dribble the ball and score baskets.
- Open and close your MacBook lid to dribble the basketball
- Quick movements create stronger dribbles
- Try to get the ball into the basket to score points
- The game shows your current score and lid angle in real-time
Works on MacBooks with lid angle sensors (2019 16-inch MacBook Pro and newer).
Requires Xcode. Build with:
xcodebuild -project LidAngleSensor.xcodeproj -scheme LidAngleSensor -configuration Release build