{"id":25198033,"url":"https://github.com/danedens/snowball_snowman","last_synced_at":"2025-04-04T17:17:26.075Z","repository":{"id":272055065,"uuid":"915394158","full_name":"DanEdens/snowball_snowman","owner":"DanEdens","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-12T15:55:51.000Z","size":776,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T02:41:23.410Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanEdens.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"ROADMAP.md","authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-11T18:23:31.000Z","updated_at":"2025-01-12T15:55:54.000Z","dependencies_parsed_at":"2025-01-11T19:34:38.197Z","dependency_job_id":"347b98b0-4eb7-41e6-96ef-8bfe37e21d6c","html_url":"https://github.com/DanEdens/snowball_snowman","commit_stats":null,"previous_names":["danedens/snowball_snowman"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanEdens%2Fsnowball_snowman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanEdens%2Fsnowball_snowman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanEdens%2Fsnowball_snowman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanEdens%2Fsnowball_snowman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanEdens","download_url":"https://codeload.github.com/DanEdens/snowball_snowman/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217220,"owners_count":20903009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-10T02:40:34.771Z","updated_at":"2025-04-04T17:17:26.053Z","avatar_url":"https://github.com/DanEdens.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Snowball Snowman\n\n## inspiration\n\n![inspiration](assets/20250111133309.png)\n\nA delightful Python game where you build a snowman by rolling and stacking snowballs, with a celebratory animation when completed!\n\n## Running the Game\n\n### Normal Mode\n```bash\npython src/main.py\n```\nPlay the game normally with keyboard controls:\n- Arrow keys to move\n- Space to roll/place snowballs\n\n### Agent/Test Mode\n```bash\npython src/main.py --agent\n```\nRuns the game in automated testing mode:\n- Auto-closes after 5 seconds\n- Takes screenshots automatically\n- Useful for development and testing\n\n## Current Progress Screenshots\n\n### Menu Screen\n![Menu Screen](test_screenshots/menu.png)\n*The main menu with title and play button*\n\n### Game Screen\n![Game Screen](test_screenshots/game_start.png)\n*The game screen showing the rolling and building zones*\n\n## Current Status\n\nThe game is currently in early development with the following components implemented:\n- ✅ Basic game window setup using Pygame\n- ✅ Initial test framework with pytest\n- ✅ Project structure and documentation\n- ✅ Game states (Menu, Playing, Celebration)\n- ✅ Snowball rolling mechanics\n- ✅ Snowball stacking system\n- ✅ Visual feedback for stacking\n- ✅ Automated testing with `--agent` mode\n\n### In Progress\n- [ ] Decorations (carrot nose, coal eyes)\n- [ ] Celebration animation\n- [ ] Sound effects\n- [ ] Background music\n\n## Roadmap\n\n### Phase 1: Core Mechanics (In Progress)\n- [x] Basic window setup\n- [x] Game state management\n- [ ] Snowball rolling mechanics\n- [ ] Snow accumulation system\n- [ ] Snowball size tracking\n- [ ] Collision detection\n\n### Phase 2: Building Mechanics\n- [ ] Snowball stacking system\n- [ ] Size requirements for valid stacking\n- [ ] Physics-based placement\n- [ ] Building area boundaries\n\n### Phase 3: Celebration Animation\n- [ ] Carrot nose placement animation\n- [ ] Hat placement animation\n- [ ] Stick arms animation\n- [ ] Particle effects\n- [ ] Celebration sound effects\n\n### Phase 4: Polish\n- [ ] Menu system\n- [ ] Tutorial/instructions\n- [ ] Sound effects\n- [ ] Background music\n- [ ] High score system\n- [ ] Multiple difficulty levels\n\n## Lessons Learned\n\n### Development Environment\n- Python 3.11 provides the best compatibility for our game development needs\n- Virtual environments are crucial for consistent development across machines\n- pkg-config is required for Mac users to properly install Pygame\n\n### Testing\n- Pytest provides a robust framework for game testing\n- Mocking Pygame Zero objects is essential for display testing\n- Test-driven development helps catch issues early\n- Writing tests first helps clarify feature requirements\n\n### Game Architecture\n- Separating game states (Menu, Playing, Celebration) improves code organization\n- Using Pygame Zero simplifies window management and game loop\n- Keeping the main game loop clean improves maintainability\n- Clear separation of concerns between game logic and rendering\n\n### UI/UX Design\n- 800x600 window size provides good gameplay area\n- Simple menu system helps with game flow\n- Visual feedback is important for user interaction\n- Consistent visual style improves game feel\n\n## Getting Started\n\n### Prerequisites\n- Python 3.11 (recommended)\n- pip (Python package manager)\n- pkg-config (for Mac users)\n\n### Installation\n1. Clone the repository\n2. Create a virtual environment:\n   ```bash\n   python -m venv venv\n   source venv/bin/activate  # On Windows: venv\\Scripts\\activate\n   ```\n3. Install dependencies:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n### Running the Game\n```bash\npython src/main.py\n```\n\n### Running Tests\n```bash\npython -m pytest\n```\n\n## Contributing\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for detailed contribution guidelines.\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanedens%2Fsnowball_snowman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanedens%2Fsnowball_snowman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanedens%2Fsnowball_snowman/lists"}