Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Air balloon #619

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/Games/Air Balloon/ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

## AirBalloon
A game where you fly an Air Balloon as far as you can with your limited fuel.


## 🎮🎮Features
- You begin the game with an air balloon and a full tank of fuel. <br>
- You need to fly your air balloon as far as possible. <br>
- The game ends when you are out of fuel or when you hit a tree. <br>
- You consume more fuel the higher your balloon goes. <br>

<br>

## 🕹️🕹️How to play?
<!-- add the steps how to play games -->
- Hold your mouse button to let your balloon rise up. <br>
- Release the mouse button to let the balloon gradually fall down. <br>
- The higher the balloon goes the more fuel it consumes. <br>
- Try to move your balloon as far as possible without striking any obstacles. <br>

<br>


## Screenshots

<img width="960" alt="Air_Balloon" src="https://github.com/VSatwika/Games-and-Go/assets/112561024/c552c09d-6c39-46c7-8df0-5ed49c427154">
21 changes: 21 additions & 0 deletions src/Games/Air Balloon/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="styles.css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<div class="container">
<canvas id="game"></canvas>
<div id="introduction">
<p>Hold down the mouse to raise</p>
<p>Fly low to save fuel</p>
</div>
<button id="restart">RESTART</button>
</div>

<script src="scripts.js"></script>
</body>
</html>
Loading