Save the forest. Protect nature.
GreenShield is a simple browser-based game where the player must protect the forest by planting new trees and preventing deforestation. The game focuses on raising awareness about environmental protection in a fun and interactive way.
Built using HTML, CSS, and JavaScript, the game runs directly in the browser without any installation.
- Simple and intuitive gameplay
- Environmental theme focused on protecting forests
- Lightweight and fast browser game
- Built with pure HTML, CSS, and JavaScript
- No frameworks or external libraries required
- Playable directly on GitHub Pages
You can play the game here:
https://parvizi96.github.io/GreenShield/
No installation required — just open the link in your browser.
git clone https://github.com/parvizi96/GreenShield.git
Open the file below in your browser:
GreenShield/
│
├── index.html
│
├── css/
│ ├── style.css
│ └── fontiran.css
│
└── js/
└── main.js
- index.html – Main entry point of the game
- css/style.css – Main styling for the game interface
- css/fontiran.css – Persian font styles used in the project
- js/main.js – Core JavaScript logic of the game
Forests are one of the most important ecosystems on Earth, but they are constantly threatened by deforestation.
In this game, the player takes on the role of a forest protector. When trees are cut down, you must react quickly and plant new trees to keep the forest alive.
- Protect the forest
- Maintain ecological balance
- Increase the number of trees
- Promote environmental awareness
- HTML5
- CSS3
- JavaScript (Vanilla JS)
No frameworks or external libraries are used, making the project lightweight and easy to understand.
Contributions are welcome.
If you want to improve the game:
- Fork the repository
- Create a new branch
- Make your changes
- Submit a Pull Request
This project is open-source and available under the MIT License.
You are free to use, modify, and distribute this project with proper attribution.
If you like this project, consider giving it a star ⭐ on GitHub.