Skip to content

Commit

Permalink
Merge pull request #2572 from nishant0708/plank
Browse files Browse the repository at this point in the history
Want to Add Plank Game #2565
  • Loading branch information
Sulagna-Dutta-Roy authored Jul 31, 2024
2 parents 32735c3 + 1234c73 commit 4748ad5
Show file tree
Hide file tree
Showing 5 changed files with 738 additions and 0 deletions.
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

0 comments on commit 4748ad5

Please sign in to comment.