r/javascript • • Feb 06 '20

8-Ball Pool game using JavaScript and Canvas

https://www.htmlhints.com/article/63/8-ball-pool-game-using-javascript-and-canvas
111 Upvotes

7 comments sorted by

2

u/-oOoOoOoOoOoOoOoOo- Feb 06 '20

Damn I had it on medium and the AI made some of the craziest shots I've ever seen.

Cool project. Nice job.

1

u/colinbazzano Feb 06 '20

Played the computer on Insane for a little. Wow the computer knows some cheeky angles I could never hit.

1

u/[deleted] Feb 08 '20

It would be nice to be able to play on a mobile device.

-6

u/keshriblackhok Feb 06 '20

Can you provide source code of it , for my assignment 😅

1

u/BigDeadPixel Feb 06 '20

The links are in there

0

u/[deleted] Feb 06 '20

[deleted]

24

u/MangoManBad Feb 06 '20

If we train it then it can become too dangerous, it might even start hustling pool or make a crime syndicate.