https://github.com/infofintech/pool
A classic 8-ball pool HTML5 game.
https://github.com/infofintech/pool
Last synced: 4 months ago
JSON representation
A classic 8-ball pool HTML5 game.
- Host: GitHub
- URL: https://github.com/infofintech/pool
- Owner: infofintech
- License: mit
- Created: 2023-04-30T05:49:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-15T12:43:34.000Z (8 months ago)
- Last Synced: 2025-01-01T21:14:02.532Z (5 months ago)
- Language: JavaScript
- Size: 15.8 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Classic-Pool-Game
© Chen Shmilovich - 2018.
**A Typescript remake is now available** [here](https://github.com/henshmi/Classic-8-Ball-Pool).
**Same functionality with better and more readable code.**
Hello everyone!
The presented code is my first shot at building a javascript game.
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!
Keys:
* 'W' : Increase shot power.
* 'S' : Decrease shot power.
* 'Esc' : Return to main menu.
Mouse:
* Left click : shoot.
* Aim by moving the mouse.
Demo:
https://henshmi.github.io/Classic-Pool-Game/Screenshots:
![]()
Credits:
* Building JavaScript Games by Arjan Egges (Apress, 2014):
https://github.com/apress/building-javascript-games
* LAB.js :
https://github.com/getify/LABjs
* Music :
Bossa Antigua Kevin MacLeod (incompetech.com)
Licensed under Creative Commons: By Attribution 3.0 License
http://creativecommons.org/licenses/by/3.0/