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

Want to Add Plank Game #2565 #2572

Merged
merged 1 commit into from
Jul 31, 2024
Merged
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
33 changes: 33 additions & 0 deletions Plank Game/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# **PLANK_GAME**

---

<br>

## **Description 📃**
- A retro styled game testing your reflexes and precision on the keyboard. Your main aim is to move the ball forward in the platform to reach to the finishing yellow box. You can use left, right and up arrow key to move the ball on the platform.


## **Functionalities 🎮**
- Easy to play
- Scoring system so that you can compare points with your friends.
- Responsive design for most of the monitors.
<br>

## **How to play? 🕹️**
- Your aim is to move the ball forward in the platform.
- You can use left, right and up arrow key to move the ball on the platform.
- You have to also avoid the fire lake in the path. If you hit them you will lose the game.
<br>




<br>







28 changes: 28 additions & 0 deletions Plank Game/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Plank game</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<link rel="stylesheet" href="./style.css">

</head>
<body>
<div style="text-align: left; margin-left: 40px;
margin-top: 30px;
font-size:50px;
padding: 5px; "><a href="https://kunjgit.github.io/GameZone/"><i style="color:black;" class="fas fa-home home-icon"></i></a></div>
<!-- partial:index.partial.html -->
<canvas id="canvas"></canvas>

<p>
Use the left, right and up arrow keys to move.
</p>
<p class="info">
The map data is fully customisable and scriptable (all contained within the "map" variable). See the comments in the code for instructions.
</p>
<br>
<script src="./script.js"></script>

</body>
</html>
10 changes: 10 additions & 0 deletions Plank Game/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "Plank Game",
"short_name": "PlankGame",
"description": "A simple game where you move using the arrow keys.",
"start_url": "./index.html",
"display": "standalone",
"background_color": "#ffffff",
"theme_color": "#000000"
}

Loading
Loading