https://github.com/afzalimdad9/8ball-pool-html5
A fully functional 8-ball pool game built using HTML5, JavaScript, and CSS. Play against an AI or a second player in a smooth and engaging billiards experience with realistic physics.
https://github.com/afzalimdad9/8ball-pool-html5
billiards canvas css engine game-development html5 javascript multiplayer physics
Last synced: about 2 months ago
JSON representation
A fully functional 8-ball pool game built using HTML5, JavaScript, and CSS. Play against an AI or a second player in a smooth and engaging billiards experience with realistic physics.
- Host: GitHub
- URL: https://github.com/afzalimdad9/8ball-pool-html5
- Owner: afzalimdad9
- Created: 2025-03-29T18:14:48.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-17T04:38:20.000Z (about 1 year ago)
- Last Synced: 2026-04-25T18:02:31.044Z (about 2 months ago)
- Topics: billiards, canvas, css, engine, game-development, html5, javascript, multiplayer, physics
- Language: CSS
- Homepage: https://8-ball-pool-html-5.vercel.app
- Size: 9.88 MB
- Stars: 32
- Watchers: 1
- Forks: 31
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎱 8Ball Pool - HTML5 Game
A **classic 8-ball pool game** built using **HTML5, JavaScript, and CSS**. Play solo, challenge an AI opponent, or compete with a friend in this realistic and interactive billiards experience.
## 🌟 Features
- 🎮 **Single & Multiplayer Mode** – Play against AI or a second player.
- 🏆 **Smooth Gameplay** – Realistic ball physics using HTML5 Canvas.
- 🎨 **Customizable Tables & Balls** – Personalize the game to your liking.
- 🔊 **Sound Effects** – Enjoy realistic pool sounds.
- 🎯 **Cue Ball Aiming Guide** – Helps players aim their shots.
## 🚀 Demo
🔗 **[Play Now](https://8-ball-pool-html-5.vercel.app/)**
## 📸 Screenshots

## 🛠️ Tech Stack
- **HTML5** (Canvas API)
- **JavaScript** (Game logic & physics)
- **CSS3** (UI styling)
## 🔧 Installation
1. Clone the repository:
```bash
git clone https://github.com/yourusername/8Ball-Pool-HTML5.git
```
2. Navigate into the project directory:
```bash
cd 8Ball-Pool-HTML5
```
3. Open index.html in your browser.
## 🎮 How to Play
- **Objective:** Pocket all your designated balls (solid/striped) and finish with the 8-ball.
- **Controls:**
- Drag and aim with the mouse.
- Release to shoot.
## 📜 License
This project is licensed under the **MIT License**.
## 📬 Contact
For suggestions or contributions, reach out at [afzalimdad9@gmail.com](mailto:afzalimdad9@gmail.com) or create an issue.
---
✨ *Enjoy playing pool in your browser!* 🎱