This project is a simple HTML game where you control a plane to collect stars. The game is built using HTML, CSS, and JavaScript, and provides an engaging way to demonstrate basic game development concepts.
This GIF demonstrates how the application works.
- Use the arrow keys to move the plane:
- Arrow Up: Move up
- Arrow Down: Move down
- Arrow Left: Move left
- Arrow Right: Move right
- Collect the stars to increase your score.
- Click the "Restart" button to reset the game.
index.html
: The main HTML file that structures the webpage.styles.css
: The CSS file for styling the game elements.game.js
: The JavaScript file containing the game logic.images/
: Directory containing images used in the game (plane.png
andstar.png
).
- HTML: For structuring the game interface.
- CSS: For styling the game elements.
- JavaScript: For implementing the game logic.
To run the game locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/simple-plane-game.git
- Navigate to the project directory:
cd simple-plane-game
- Open the
index.html
file in your web browser to start the game.
- Use the arrow keys to navigate the plane and collect stars.
- The score will increase with each star collected.
- Use the "Restart" button to reset the game.
Contributions to improve the game are welcome. Please fork the repository and submit a pull request with your changes.
Distributed under the MIT License. See LICENSE
for more information.
- Project Link: Air Quality Analysis on GitHub
- LinkedIn: Annisa Puspa Kirana
- Social Links: linktr.ee/puspakirana
This project is a simple demonstration of creating an interactive game using basic web technologies. It is intended for educational purposes and to serve as a foundation for further development.