Semestral project for KAJ course.
This game is called Arkanoid made in 1986.
Simply move the slider to the left or right using arrow keys. The game ends when you miss the ball with the slider. Press the "Play" button and then space key when you are ready to play.
The game runs in script.js where the game is created in constructor. Then the game runs in gameloop where we constantly check the possition of the ball with wall, paddle and the bricks.