Gravity is a game where players jump over obstacles to gain score and try to catch snacks to gain lives and also score. The game ends when the lives are over or when is reached a score of 100 points.
- Biker gains speed by clicking 'right' or 'KeyD' and slows by clicking 'left' or 'KeyA'
- Biker jumps over obstacles by clicking 'up' or 'KeyW'
- Obstacles appear in the screen randomly, if the rider hits them, he loses a life if not he scores 10 points
- Bonus items also appear in the screen randomly, if the rider catch them he gets 5 points
- The type of bonus items can be selected by clicking 'KeyS' for snacks or 'KeyB' for bottles
- Player wins the game if he reaches 100 points
- Player loses the game if he loses all the lives
- Adapt the game to touch screen devices like smartphone or tablet
- Change physics of character's jump
- Add other sounds
- HTML
- CSS
- JavaScript
- DOM Manipulation
- JS Classes
- Start Screen
- Game Screen
- Game Over Screen