2D Basketball Game: Realistic Free Throw & Hoops

Drag back, release, swish. Smooth physics, 3 modes, 5 balls, 3 courts.

Score0
Streak0
Time60
Drag back & release to shoot
GemsMakers Research Lab
| 📊 Open Datasets | ⚡ Free REST API | 🏷️ SVG Badges

How to play 2D basketball online

  • Touch or click anywhere, drag backwards away from the hoop, then release.
  • Longer drag means a harder shot. Follow the dotted aim line.
  • Pick Classic 60s, Free Throw 10 or Moving Hoop in Options.
  • Tap ⛶ for fullscreen. The floating ✕ button exits it.

Scoring and example

ShotPoints
Basket inside the long-shot line2
Basket beyond the line3
Swish (no rim or board touch)+1
Streak of 3 / 6 / 9 makes×2 / ×3 / ×4

Example: a long swish on a 3-make streak = (3 + 1) × 2 = 8 points.

Frequently asked questions

How do I shoot in this 2D basketball game?

Touch or click anywhere on the court, drag backwards away from the hoop and release. The farther you drag, the harder the shot.

Why does it feel so smooth?

Physics runs at a fixed 120 Hz step with frame interpolation, the court is pre-rendered once, and resolution adapts automatically if your device slows down.

Does it work on phones?

Yes. It is built for touch, supports portrait and landscape, and the fullscreen mode covers the whole screen with a floating exit button.

Last updated: November 3, 2026. Ball physics: gravity, bounce, rim and backboard collisions, with a small aim assist that scales with difficulty.