https://github.com/thamirawaran/visit_zoo
An interactive zoo simulation built with Pygame and MoviePy. Explore zoo sections by clicking buttons to view videos, offering a fun and engaging experience.
https://github.com/thamirawaran/visit_zoo
jac jac-lang pygame zoo
Last synced: 5 months ago
JSON representation
An interactive zoo simulation built with Pygame and MoviePy. Explore zoo sections by clicking buttons to view videos, offering a fun and engaging experience.
- Host: GitHub
- URL: https://github.com/thamirawaran/visit_zoo
- Owner: Thamirawaran
- License: mit
- Created: 2024-10-07T12:14:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-07-03T05:03:25.000Z (12 months ago)
- Last Synced: 2025-07-10T23:57:10.995Z (12 months ago)
- Topics: jac, jac-lang, pygame, zoo
- Homepage:
- Size: 38.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# đĻ Visit Zoo Game
[](https://github.com/Jaseci-Labs/jaclang)
[](https://www.pygame.org/)
[](https://zulko.github.io/moviepy/)
[](https://opensource.org/licenses/MIT)
> đŽ An immersive interactive zoo exploration game built with Jaclang, featuring dynamic state management and multimedia experiences.
## ⨠Features
### đēī¸ **Interactive Zoo Exploration**
- Navigate through beautifully designed zoo sections
- Each area features unique animals: đĻ Lions, đ Elephants, đĻ Parrots, and đĻ Hummingbirds
- Dynamic pathfinding and state-based navigation system
### đŦ **Rich Multimedia Experience**
- **HD Images**: High-quality visuals for each zoo section
- **Video Content**: Immersive 3-second video clips for every animal encounter
- **Audio**: Background music and interactive sound effects
### đ¯ **Smart State Management**
- đĸ **Accessible** - Ready to explore
- đ´ **Restricted** - Prerequisites required
- đĒ **Exit** - Previously visited areas
### đī¸ **Modern Architecture**
- Object-oriented design with Jaclang
- Modular code structure for easy maintenance
- Real-time event handling and smooth gameplay
## đŽ How to Play
### đ Getting Started
1. **Start** at the zoo entrance
2. **Click** on green sections to explore new areas
3. **Watch** videos and enjoy the animal experiences
4. **Navigate** strategically between different zoo sections
### đšī¸ Controls
| Control | Action |
|---------|--------|
| đąī¸ **Mouse Click** | Interact with zoo sections |
| đĸ **Green Button** | Enter available section |
| đ´ **Red Button** | Section currently restricted |
| đĒ **Exit Button** | Return to previous area |
### đ Zoo Map
```
đī¸ Zoo Entry
âââ đž Animals Section
â âââ đĻ Lion Exhibit
â âââ đ Elephant Habitat
âââ đĻ Birds Section
âââ đĻ Parrot Aviary
âââ đĻ Hummingbird Garden
```
## đ ī¸ Setup & Installation
### đ Prerequisites
- đ **Python 3.8+**
- đ¯ **Jaclang** - Advanced programming language for AI and graph computing
- đŽ **Pygame** - Cross-platform gaming library
- đŦ **MoviePy** - Video processing toolkit
### ⥠Quick Install
```bash
# Clone the repository
git clone https://github.com/Thamirawaran/Visit_Zoo.git
cd Visit_Zoo
# Install dependencies
pip install -r requirements.txt
# Launch the game
cd src
jac run main.jac
```
### đŗ Docker Setup (Optional)
```bash
docker build -t visit-zoo .
docker run -it --rm visit-zoo
```
## đī¸ Project Structure
```
Visit_Zoo/
âââ đ src/
â âââ đ¯ main.jac # Core game engine & event loop
â âââ đ¨ gui.jac # UI components & rendering
â âââ đēī¸ model.jac # Zoo structure & navigation logic
âââ đ assets/
â âââ đŧī¸ images/ # Section visuals & UI elements
â âââ đŦ videos/ # Animal encounter clips
â âââ đĩ music/ # Background audio & sound effects
âââ đ requirements.txt # Python dependencies
âââ đ LICENSE # MIT License
âââ đ README.md # This file
```
## đ§ Technical Details
### đ¯ Built With Jaclang
- **Graph-based Architecture**: Leverages Jaclang's native graph processing
- **Walker Pattern**: Efficient navigation through zoo sections
- **Type Safety**: Strong typing for better code reliability
### đŽ Game Engine Features
- **60 FPS** smooth gameplay
- **Responsive UI** with dynamic resizing
- **Memory-efficient** media loading
- **Cross-platform** compatibility
## đ¤ Contributing
We welcome contributions! Here's how you can help:
1. đ´ **Fork** the repository
2. đ **Create** a feature branch (`git checkout -b feature/amazing-feature`)
3. đž **Commit** your changes (`git commit -m 'Add amazing feature'`)
4. đ¤ **Push** to the branch (`git push origin feature/amazing-feature`)
5. đ **Open** a Pull Request
### đ Bug Reports
Found a bug? Please open an issue with:
- Detailed description
- Steps to reproduce
- Expected vs actual behavior
- System information
## đ Changelog
### v1.0.0 (Latest)
- ⨠Initial release
- đŽ Full zoo exploration gameplay
- đŦ Multimedia integration
- đ¯ Jaclang-powered architecture
## đ License
This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.
## đ Acknowledgments
- đ¯ **Jaclang Team** - For the amazing programming language
- đŽ **Pygame Community** - For the robust gaming framework
- đŦ **MoviePy Contributors** - For video processing capabilities
- đĻ **Zoo Communities** - For inspiration and educational content
---
**â If you enjoyed this project, please give it a star! â**
Made with â¤ī¸ by [Thamirawaran Sathiyalogeswaran](https://github.com/Thamirawaran)
[đ Report Bug](https://github.com/Thamirawaran/Visit_Zoo/issues) âĸ [⨠Request Feature](https://github.com/Thamirawaran/Visit_Zoo/issues) âĸ [đŦ Ask Question](https://github.com/Thamirawaran/Visit_Zoo/discussions)