A classic 2-player 2D pool game built entirely in pure JavaScript in 2015. No external libraries—just core browser APIs!
Key Features: Pure JavaScript Implementation: Leveraging only browser-provided APIs: DOM Manipulation: document.getElementById, document.getElementsByClassName, document.createElement, document.getElementsByTagName Event Handling: document.attachEvent, document.addEventListener Timed Actions: setTimeout, clearTimeout
Clone the Repo & open the file index.html in your browser.
- document.getElementById
- document.getElementsByClassName
- document.createElement
- document.attachEvent
- document.addEventListener
- document.getElementsByTagName
- setTimeOut
- clearTimeOut
- Collision detection
- Velocity & Vector computation
- Rotation & Reflection
- Distance computation
- Momentum
- Principle of Energy Conservation

