This is a simple Doodle Jump game built using HTML, CSS, and JavaScript.
- Click the "Play" button to start the game.
- Use the keyboard arrow keys โ and โ to move the doodler.
- Press the spacebar to restart the game after a game over.
Contains the structure of the game with a canvas for gameplay, main menu, and game-over screen.
Styles the elements of the game for a better visual experience.
- constants.js: Holds constant values for the game, such as doodler and board dimensions.
- platform.js: Manages platforms in the game, their placement, collision, and scoring logic.
- movement.js: Handles doodler movement based on key events and resets the game on spacebar press.
- index.js: Initializes the game, manages doodler properties, physics, and game logic.
- Clone the repository.
- Open
index.html
in your web browser.