Javascript Beer Pong - How to Code Javascript Games
Description: Today I show you how I created a beer pong website! It's made with html, css and regular javascript.
You start with the ball moving top to bottom by a css animation, and you click to stop it at the desired height. Then it starts moving side to side. You click again to shoot the ball. If it lands on a cup then it gets removed and you shoot again. Keep going until you hit all six cups!
Leave a comment below telling me how long it takes you to complete!
LINK TO BEER PONG GAME: https://beat0154.github.io/Beer-pong/
Repository: https://github.com/Beat0154/Beer-pong
Twitter: www.twitter.com/ShawnJBeaton
Instagram: www.instagram.com/ShawnJBeaton
LinkedIn: https://www.linkedin.com/in/shawn-beaton-b83958171/ Close description
You start with the ball moving top to bottom by a css animation, and you click to stop it at the desired height. Then it starts moving side to side. You click again to shoot the ball. If it lands on a cup then it gets removed and you shoot again. Keep going until you hit all six cups!
Leave a comment below telling me how long it takes you to complete!
LINK TO BEER PONG GAME: https://beat0154.github.io/Beer-pong/
Repository: https://github.com/Beat0154/Beer-pong
Twitter: www.twitter.com/ShawnJBeaton
Instagram: www.instagram.com/ShawnJBeaton
LinkedIn: https://www.linkedin.com/in/shawn-beaton-b83958171/ Close description




