GitPedia

Classic Pool Game

Classic 8 Ball pool game written in JavaScript

From henshmi·Updated May 13, 2026·View on GitHub·

**A Typescript remake is now available** [here](https://github.com/henshmi/Classic-8-Ball-Pool). **Same functionality with better and more readable code.** The project is written primarily in JavaScript, distributed under the MIT License license, first published in 2018. Key topics include: 2d-game, ai, balls, billiard, canvas-game.

<h1>Classic-Pool-Game</h1> <small>© Chen Shmilovich - 2018.</small> <br> <hr>

A Typescript remake is now available here.
Same functionality with better and more readable code.

<hr>

Hello everyone!<br><br>
The presented code is my first shot at building a javascript game.<br>
It is a classic 8-ball pool game.
You can choose to play against a friend, or against an AI, with various difficulty levels.

Have fun, and good luck!

<h3>Keys:</h3> * 'W' : Increase shot power.<br> * 'S' : Decrease shot power.<br> * 'Esc' : Return to main menu.<br> <h3>Mouse:</h3> * Left click : shoot.<br> * Aim by moving the mouse.<br> <h3>Demo:</h3> https://henshmi.github.io/Classic-Pool-Game/ <h3>Screenshots:</h3> <img src="https://image.ibb.co/b9HT6x/screenshots.jpg" style="width: 10px;"></img> <h3>Credits:</h3> * Building JavaScript Games by Arjan Egges (Apress, 2014):<br> https://github.com/apress/building-javascript-games <br> * LAB.js :<br> https://github.com/getify/LABjs <br> * Music :<br> Bossa Antigua Kevin MacLeod (incompetech.com)<br> Licensed under Creative Commons: By Attribution 3.0 License<br> http://creativecommons.org/licenses/by/3.0/

Contributors

Showing top 2 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from henshmi/Classic-Pool-Game via the GitHub API.Last fetched: 6/14/2026