An open API service indexing awesome lists of open source software.

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.

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

![8Ball Pool](https://github.com/user-attachments/assets/e869d275-fe94-49cc-b7c6-d46978a1daed)

## 🛠️ 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!* 🎱