This is a recreation of the classic pong game that many of you may have played. The game is played with a computer. Don’t slack off thinking the bot will go easy on you.
Controls: Use the Up and Down arrows keys on your keyboard to controls your paddle. Guard your fence and hit the ball. If the computer misses you earn a point, and if you miss, the computer gets one. Play for as like as you like!
The website was made with the classic HTML, CSS, JS trio. The game logic is written entirely with JS and I used a canvas to render everything, the player, the computer, ball, score, etc. JS is also used to handle the input and update the game state.