Daarshyan new account Posted Sunday at 10:10 AM Share Posted Sunday at 10:10 AM Hey everyone! 👋 I’ve just finished building a brand-new 2D basketball game called Basketball Gym, made entirely using HTML, CSS, and JavaScript — no game engines, no frameworks, just pure code. This project is a fast, chaotic, and super fun basketball battle where two teams fight for ball control, dribble, pass, steal, and score inside a fast-moving gym court. 🏀 What’s in the Game? ✔️ Two Full Teams The game features two teams (customizable!) competing in real-time. Each player moves intelligently, tries to steal the ball, and plays both offense and defense. ✔️ Real Dribbling Players actually dribble, not slide across the floor. The dribble animation and timing make the movement feel more alive. ✔️ Passing & Stealing You can pass the ball to teammates, and the opponents can steal if you’re not careful. It creates crazy, unpredictable gameplay moments. ✔️ Smart Ball Physics The ball bounces, gets stolen, deflects, and behaves realistically for a 2D game. ✔️ Smooth Controls Keyboard controls are responsive and simple for new players while still fun for advanced players. Everything is highly optimized, so the game runs smoothly even on mobile browsers. 🚀 Why I Built This I wanted to challenge myself to make a full sports game from scratch, with no game engine. It taught me a lot about physics, player states, AI, and game loop optimization. If you guys want to play this game, go to this link: https://pub-ac397c96ae2647d4a45221e91f4ce5dd.r2.dev/O6aNb7Gx9a.html Thank You! Quote Link to comment Share on other sites More sharing options...
Daarshyan new account Posted Sunday at 10:18 AM Author Share Posted Sunday at 10:18 AM Hello, everyone For those who didn't know the poster, here is the poster: Thank You Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.