Sticky Scroll is a simple game that challenges your scrolling speed! The objective of the game is to scroll down as fast as you can and score the highest points.
- Easy to play
- Records and displays the current and highest scores
- Saves the highest score in the browser's local storage
- Smooth ball animation when the score is updated
- Randomizes the position of the scroll after each successful attempt
-
Clone the repository to your local machine using
git clone https://github.com/Ali-Sdg90/Sticky-Scroll.git
-
Open the
index.html
file in your preferred web browser.
The code contains the following files:
index.html
: HTML markup for the gamestyle.css
: Basic styling for the gamestyle.scss
: SCSS version of the CSS filescript.js
: JavaScript code for the game
The script.js
file is the core of the game, and it contains the
logic to track the scrolling, calculate the score, and update the score and
highest score values.
This game is developed by Ali-Sdg90 as a personal project. If you have any questions or suggestions, feel free to contact me.