Skip to content

parvizi96/GreenShield

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GreenShield 🌱

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.


🎮 Features

  • 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

🚀 Play Online

You can play the game here:

https://parvizi96.github.io/GreenShield/

No installation required — just open the link in your browser.


🛠️ Run Locally

1. Clone the repository

git clone https://github.com/parvizi96/GreenShield.git

2. Navigate to the project folder

3. Run the game

Open the file below in your browser:


📁 Project Structure

GreenShield/

├── index.html

├── css/

│ ├── style.css

│ └── fontiran.css

└── js/

└── main.js

Description

  • 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

🌍 Game Idea

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.

Goals

  • Protect the forest
  • Maintain ecological balance
  • Increase the number of trees
  • Promote environmental awareness

💻 Technologies Used

  • HTML5
  • CSS3
  • JavaScript (Vanilla JS)

No frameworks or external libraries are used, making the project lightweight and easy to understand.


🤝 Contributing

Contributions are welcome.

If you want to improve the game:

  1. Fork the repository
  2. Create a new branch
  3. Make your changes
  4. Submit a Pull Request

📜 License

This project is open-source and available under the MIT License.

You are free to use, modify, and distribute this project with proper attribution.


⭐ Support

If you like this project, consider giving it a star ⭐ on GitHub.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors