-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2572 from nishant0708/plank
Want to Add Plank Game #2565
- Loading branch information
Showing
5 changed files
with
738 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
|
Oops, something went wrong.