This is an asynchronous multiplayer eight-ball game. Powered by the rigidbody physics engine matter.js!
This game follows the standard eight-ball rules. I suggest you skim through this wikipedia page