Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

🎮 Simple Platformer Game

A classic 2D platformer game built with HTML, CSS, and vanilla JavaScript.

🕹️ How to Play

Open the index.html file in your web browser.

Use the Arrow Keys or WASD keys to move your character left and right.

Use the Spacebar or W key to jump.

Navigate the platforms to reach the Gold Block to win.

If you fall off the bottom or hit the side walls, the game will restart. You can also click the "Reset Game" button at any time.

🛠️ Features

HTML Canvas: The entire game is rendered on an HTML .

Physics: Includes basic gravity and jumping mechanics.

Collision Detection: The player can land on top of platforms.

Win/Lose States: A clear win condition (reaching the goal) and multiple restart conditions (falling, hitting walls).